Quote:
Originally Posted by Anthony_Brassi
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Okay, I'm still a little bit confused about timers
So, how can I make the player, when he teleports
to a certain place, TogglePlayerControllable(playerid, 0);
for 3 seconds, then TogglePlayerControllable(playerid, 1);
if 3 seconds has pass-by. The reason why I want the player
to freeze first before he can land on the ground, is because,
so the objects will load first
|
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/teleport", true) == 0) { SetTimerEx("UnFreeze", 3000, 0, "i", playerid); } return 1; }
forward UnFreeze(playerid); public UnFreeze(playerid) { TogglePlayerControllable(playerid, 1); }
|
Okay, cool thanks
I nevar get this timers -.-'