27.09.2011, 22:53
Where ever you have the command to change the gamemodes put this in there
TogglePlayerControllable(playerid,0);
SetPlayerPos(playerid,X,Y,Z);
SetTimerEx("unfreeze", 10000, false, "i", playerid);
And this any where else outside any other command make it .. it's own line
forward unfreeze(playerid);
public unfreeze(playerid) { TogglePlayerControllable(playerid,1); }
TogglePlayerControllable(playerid,0);
SetPlayerPos(playerid,X,Y,Z);
SetTimerEx("unfreeze", 10000, false, "i", playerid);
And this any where else outside any other command make it .. it's own line
forward unfreeze(playerid);
public unfreeze(playerid) { TogglePlayerControllable(playerid,1); }