Help with timers
#1

I need help. I've tried to figure out by myself what the problem might be but I failed. The code will tell you what I have tried to do.

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetTimerEx("ObjLoad", 3000,false,"i",playerid);
       TogglePlayerControllable(playerid,0);
    GameTextForPlayer(playerid,"~w~Objects ~g~Loading",2000,0);
    print("Freezed"); // For debug.
    return 1;
}

public ObjLoad(playerid) // The forward is up somewhere.
{
    TogglePlayerControllable(playerid,1);
    GameTextForPlayer(playerid,"~w~Objects ~g~Loaded",2000,0);
    print("Unfrezzed"); // For debug
    return 1;
}
Now the problem is in the console I see >> Frezzed but I do not see Unfrezzed and ALSO It does not unfrezze the player.
Reply


Messages In This Thread
Help with timers - by sleepysnowflake - 30.10.2011, 20:36
Re: Help with timers - by LeNy - 30.10.2011, 20:43
Re: Help with timers - by sleepysnowflake - 30.10.2011, 20:45
Re: Help with timers - by sleepysnowflake - 31.10.2011, 10:27
Respuesta: Help with timers - by Abruu - 31.10.2011, 22:37
Re: Help with timers - by Unte99 - 31.10.2011, 22:54
Re: Help with timers - by sleepysnowflake - 31.10.2011, 23:00

Forum Jump:


Users browsing this thread: 1 Guest(s)