24.12.2013, 14:52
guys i want to make The Army Status And Cia With Xp Required
if its hard Make it With Admin Application
Thanks
if its hard Make it With Admin Application
Thanks
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;
}