Quote:
Originally Posted by mrcoolballs
create a variable
pawn Код:
new BoughtItem[MAX_PLAYERS];
then when the player buys the item:
pawn Код:
BoughtItem[playerid] = 1;
and then when you want to check if the player has bought the item:
pawn Код:
if(BoughtItem[playerid] == 1) { // do stuff } else { //player hasn't bought the item return 1; }
|
ok thanks I am going to try if it works !