remove player class
#1

is there some way to remove player class? anything?
Reply
#2

Just delete the one you dont want from your pwn lol.
Else, if ya mean dont let somebody use:

Код:
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;
}
Reply
#3

well its not good for me, but i figured my own way to do this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)