The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]I screw up amnesia,
Casotime1999 Offline
Junior Member

Posts: 23
Threads: 6
Joined: Mar 2015
Reputation: 0
#1
Heart  [SOLVED]I screw up amnesia,

I have a little problem with scripts, When i tried to make lever puzzle script it won't work,
script:
void OnStart()
{
for(int i=0; i<=10; i++) SetEntityConnectionStateCollideCallback("lever"+i, "ConnLev", true);
}
void ConnLev(string &in asEntity, int LeverState)
for(int j=0; j<=10; j++){
{
if(GetLeverState("lever"+i) == -1)
{
GivePlayerDamage(500.0f, true);
FadeOut(0);
TeleportPlayer("Players1");
AddTimer("T1", 0.1f "Ending");
}
}
void ending(string &in asTimer)
{
StartCredits("", false, "Ending", "badfinal", -1);
}
Why this won't work I screwed up this game, I can't understand!!! Someone can help me?please don't get be mad
(This post was last modified: 04-16-2015, 08:11 AM by Casotime1999.)
04-12-2015, 08:28 PM
Find


Messages In This Thread
[SOLVED]I screw up amnesia, - by Casotime1999 - 04-12-2015, 08:28 PM
RE: I screw up amnesia, - by FlawlessHappiness - 04-12-2015, 08:32 PM
RE: I screw up amnesia, - by Casotime1999 - 04-15-2015, 10:07 AM
RE: I screw up amnesia, - by FlawlessHappiness - 04-15-2015, 12:31 PM
RE: I screw up amnesia, - by Romulator - 04-15-2015, 11:30 AM
RE: I screw up amnesia, - by Romulator - 04-15-2015, 01:11 PM
RE: I screw up amnesia, - by FlawlessHappiness - 04-15-2015, 01:32 PM
RE: I screw up amnesia, - by Casotime1999 - 04-15-2015, 09:59 PM
RE: I screw up amnesia, - by FlawlessHappiness - 04-15-2015, 11:06 PM



Users browsing this thread: 1 Guest(s)