13.07.2010, 18:19
pawn Код:
if (strcmp("/m4", cmdtext, true, 10) == 0){
if (GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, COLOR_COLOR,"You don't have enough money!");
GivePlayerWeapon(playerid, 31, 200);
GivePlayerMoney(playerid, -500);
return 1;
}