Help with class selection
#4

try this one
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(pInfo[playerid][Skin])
    {
        if(pInfo[playerid][Skin]!=GetPlayerSkin(playerid))
        {
            SendClientMessage(playerid,-1,"Skin Locked / You already have a saved skin");
            return 0;
        }
    }
    return 1;
}
EDIT: make sure that his saved skin is not a CJ skin
Reply


Messages In This Thread
Help with class selection - by earlybird325 - 15.12.2014, 22:13
Re: Help with class selection - by Mic_H - 16.12.2014, 01:58
Re: Help with class selection - by earlybird325 - 16.12.2014, 02:45
Re: Help with class selection - by Quickie - 16.12.2014, 03:02
Re: Help with class selection - by Banana_Ghost - 16.12.2014, 09:03
Re: Help with class selection - by Quickie - 16.12.2014, 09:28
Re: Help with class selection - by Banana_Ghost - 16.12.2014, 09:30
Re: Help with class selection - by earlybird325 - 16.12.2014, 09:31

Forum Jump:


Users browsing this thread: 2 Guest(s)