Little bit confused
#4

Quote:
Originally Posted by ViruZZzZ_ChiLLL
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 -.-'
np, have fun
Reply


Messages In This Thread
Little bit confused - by ViruZZzZ_ChiLLL - 18.05.2010, 02:23
Re: Little bit confused - by Anthony_Brassi - 18.05.2010, 02:51
Re: Little bit confused - by ViruZZzZ_ChiLLL - 18.05.2010, 02:52
Re: Little bit confused - by Anthony_Brassi - 18.05.2010, 03:53
Re: Little bit confused - by deather - 18.05.2010, 05:09

Forum Jump:


Users browsing this thread: 1 Guest(s)