27.06.2011, 00:19
(
Последний раз редактировалось zouyun; 27.06.2011 в 01:52.
)
I added a /buydeagle command
But then when I use it in game if I had 500$ it will bring me to -500$.
How do I add something that would check if he has the money.
Код:
if (strcmp(cmdtext, "/buyarmour", true) == 0) { SetPlayerArmour(playerid, 100); SendClientMessage(playerid, COLOR_GREEN, "You have full armor now"); GivePlayerMoney(playerid, -1000); return 1; }
How do I add something that would check if he has the money.