Class for players
#4

Alright you could try doing something like this.

Example:
pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == 3 && PlayerInfo[playerid][pwhatever] == 1)
    {
        SendClientMessage(playerid,COLOR_GREEN,"This class is unavailable to you.");
        return 0;
    }
    return 1;
}
Also have a look at this, it may help
https://sampwiki.blast.hk/wiki/OnPlayerRequestClass
Reply


Messages In This Thread
Class for players - by trapstar2020 - 13.09.2012, 03:41
Re: Class for players - by Deal-or-die - 13.09.2012, 03:45
Re: Class for players - by trapstar2020 - 13.09.2012, 03:52
Re: Class for players - by Deal-or-die - 13.09.2012, 04:15

Forum Jump:


Users browsing this thread: 1 Guest(s)