Help with class selection
#1

Hi,

I need help with this on class selection:

PHP код:
public OnPlayerRequestClass(playerid,classid)
{
    if(
pInfo[playerid][skin] > 0)
{
SetPlayerSkin(playerid,pInfo[playerid][skin]);

What I want this to do is, if the player has a skin saved, have that skin locked (cant choose any other skin), if player doesn't have skin saved, I want him to be able to select any skin. I tried multiple things, this above is my latest.
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: 1 Guest(s)