24.12.2013, 15:20
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;
}