01.10.2010, 19:58
After that timer is set, the next line is exectued, so that code wouldn't work.
Correction:
<This forum requires that you wait 120 seconds between posts. Please try again in 31 seconds.> Argh..
Correction:
pawn Код:
forward ConnectionTimer(playerid);
public ConnectionTimer(playerid)
{
TogglePlayerControllable(playerid, 1);
}
public OnPlayerConnect(playerid)
{
TogglePlayerControllable(playerid, 0);
SetTimerEx("ConnectionTimer", 10000, false, "i", playerid);
return 1;
}