One skin per person??
#5

Quote:
Originally Posted by Jacapo
Посмотреть сообщение
Hmm maybe you can use a varriable in OnPlayerRequestClass() and then check if some skin is in use..
for example:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    switch(classid)
    {
        case 0:
        {
            skin_id0_in_use = 1;
            if(skin_id0_in_use == 1)
                return GameTextForPlayer(playerid, "~r~This skin is already in use!", 5000, 3);
        }
        case 1:
        {
            skin_id1_in_use = 1;
            if(skin_id1_in_use == 1)
                return GameTextForPlayer(playerid, "~r~This skin is already in use!", 5000, 3);
        }
    }
    return 1;
}
Idk if this is what you want







ERRORS:


(87 : error 017: undefined symbol "skin_id0_in_use"
(879) : error 017: undefined symbol "skin_id0_in_use"
(884) : error 017: undefined symbol "skin_id1_in_use"
(885) : error 017: undefined symbol "skin_id1_in_use"

HELP PLS (=
Reply


Messages In This Thread
One skin per person?? - by cleme - 13.01.2014, 01:27
Re: One skin per person?? - by Jacapo - 13.01.2014, 01:54
Re: One skin per person?? - by PinkFloydLover - 13.01.2014, 13:50
Re: One skin per person?? - by cleme - 13.01.2014, 17:15
Re: One skin per person?? - by cleme - 13.01.2014, 17:19
Re: One skin per person?? - by Jacapo - 13.01.2014, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)