04.08.2014, 05:41
It's more complex, but... RESUME
public : Can be acessed by other script(Ex: CallRemoteFunction). You need to use this for timers
stock : Can be declared and not used. (I use this only in includes)
You can use
public : Can be acessed by other script(Ex: CallRemoteFunction). You need to use this for timers
stock : Can be declared and not used. (I use this only in includes)
You can use
pawn Code:
FreezePlayer(playerid, status=0)
{
switch(status)
{
case 0: TogglePlayerControllable(playerid, 0);
case 1: TogglePlayerControllable(playerid, 1);
}
}