02.09.2010, 02:38
We'll im making this command, and its going good so far, i just need to find out how to check if the player has enough cash to buy the thing, so it will check him, and if he has enough cash, it will proceed onto buying.
Command:
So can you please tell me how to check if the player has enough cash ect? cheers.
Command:
pawn Код:
}
if(strcmp(cmd, "/weaponpack", true) == 0) {
GivePlayerMoney(playerid,-125000);
SendClientMessage(playerid, COLOR_GREEN,"You Bought A Weapon Pack!");
GivePlayerWeapon ect ect
return 1;
}