onplayerspawn
#1

Can anyone help me making this, When someones spawn it has to TogglePlayerContrable false, after 1 second i want it to set it for the spawning player to true.

the problem is, i am not sure if this is correct. (the SetTimerEx)
i have this:
pawn Код:
Onplayerspawn:
TogglePlayerControllable(playerid, false);
SetTimerEx("freezefree", 10000, 0, "i", playerid);

//-----------------------------

forward healthoff(playerid);
public healthoff(playerid)
{
    TogglePlayerControllable(playerid, true);
    return 1;
}
Reply


Messages In This Thread
onplayerspawn - by iStarzz - 12.06.2010, 21:08
Re: onplayerspawn - by Dark_Kostas - 12.06.2010, 21:09
Re: onplayerspawn - by Hiddos - 12.06.2010, 21:27
Re: onplayerspawn - by aircombat - 12.06.2010, 23:31
Re: onplayerspawn - by iStarzz - 13.06.2010, 09:00

Forum Jump:


Users browsing this thread: 1 Guest(s)