15.11.2010, 20:43
is there some way to remove player class? anything?
public OnPlayerStateChange(playerid, newstate, oldstate) { if(GetPlayerSkin(playerid) == 22) // A guy with orange & black clothes { SetPlayerSkin(playerid, 0); // CJ SetPlayerHealth(playerid, 0.0); SendClientMessage(playerid, RED, "Skin 22 isn't allowed. Choose any else"); return 1; } return 1; }