13.07.2010, 18:16
I have this command
How can I make it when the player doesn't have the money to give him this message :
pawn Код:
if (strcmp("/m4", cmdtext, true, 10) == 0){
GivePlayerWeapon(playerid, 31, 200);
GivePlayerMoney(playerid, -500);
return 1;
}
pawn Код:
SendClientMessage(playerid, COLOR_RED, "YOU NEED MORE MONEY TO BUY THIS WEAPON !");