Help /enter problem
#7

yes:

pawn Код:
stock FreezePlayer(playerid, time)
{
     TogglePlayerControllable(playerid, 0);
     SetTimerEx("UnfreezePlayer", time * 1000, false, "i", playerid);
     return 1;
}
forward UnfreezePlayer(playerid);
public UnfreezePlayer(playerid)
{
     return TogglePlayerControllable(playerid, 1);
}
Usage:

pawn Код:
FreezePlayer(playerid, 2);
the time is in seconds
Reply


Messages In This Thread
Help /enter problem - by Dark Crow - 17.02.2012, 17:38
Re: Help /enter problem - by Toreno - 17.02.2012, 17:51
Re: Help /enter problem - by Dark Crow - 17.02.2012, 17:58
Re: Help /enter problem - by deltapro - 17.02.2012, 17:58
Re: Help /enter problem - by Toreno - 17.02.2012, 18:21
Re: Help /enter problem - by Dark Crow - 17.02.2012, 19:43
Re: Help /enter problem - by fordawinzz - 17.02.2012, 19:45
Re: Help /enter problem - by Toreno - 17.02.2012, 19:46

Forum Jump:


Users browsing this thread: 1 Guest(s)