20.06.2018, 17:11
Hello, i'm trying to make an XP requirement...
How to check if the player has enough XP or not?
if(pInfo[playerid][pXP] <= 9999)
return SendClientMessage(playerid, -1, "{FF0000}[ERROR]{FFFFFF} You do not have enough XP to join this class.");
else
//REST CODE
But idk where to put it under.. which callback..
How to check if the player has enough XP or not?
if(pInfo[playerid][pXP] <= 9999)
return SendClientMessage(playerid, -1, "{FF0000}[ERROR]{FFFFFF} You do not have enough XP to join this class.");
else
//REST CODE
But idk where to put it under.. which callback..