25.07.2013, 01:51
is there any way to get the player's state if he is freeze or set to toggleplayercontrollable(playerid, 0)?
new IsFrozen[MAX_PLAYERS];
//freeze command here.
//AFTER the TogglePlayerControllable:
IsFrozen[playerid] = 1; //sets it to one. So they're frozen
if(IsFrozen[playerid] == 1) //something
if(IsFrozen[playerid] == 0) //something