Private skin.
#1

pawn Код:
if(GetPlayerSkin(playerid) == emmetskin)
   {
       new SkinName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, SkinName, sizeof(SkinName));
       if(!(strcmp(SkinName, "[BADBOY]", false) == 0))
       {
          GameTextForPlayer(playerid, "You can't take this skin!", 2500, 3);
          ForceClassSelection(playerid);
          SetPlayerHealth(playerid, 0.0);
       }
   }
Hello. How come this code not work at all? What am I doing wrong??
Reply


Messages In This Thread
Private skin. - by canip0000 - 17.07.2016, 23:57
Re: Private skin. - by UltraScripter - 18.07.2016, 00:19

Forum Jump:


Users browsing this thread: 1 Guest(s)