some help (thanks
#6

But you will need to add this in your filterscript because the enums of xp are there. First add the cia , army class by AddPlayerClass , lets say the cia class is 1 and army is 2
pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == 1 && GetPlayerExp(playerid) != 60000 ))
    {
        SendClientMessage(playerid,-1,"You need 60000 xp for using cia class.");
        return 0;
    }
    if(classid == 2 && GetPlayerExp(playerid) != 50000))
    {
        SendClientMessage(playerid,-1,"You need 50000 xp for using army class.");
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
some help (thanks - by Kells - 24.12.2013, 14:52
Re: some help (thanks - by SilentSoul - 24.12.2013, 14:58
Re: some help (thanks - by Kells - 24.12.2013, 15:02
Re: some help (thanks - by SilentSoul - 24.12.2013, 15:08
Re: some help (thanks - by Kells - 24.12.2013, 15:11
Re: some help (thanks - by SilentSoul - 24.12.2013, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)