13.07.2010, 18:20
pawn Код:
if (strcmp("/m4", cmdtext, true, 10) == 0){
if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid,COLOR_RED,"YOU NEED MORE MONEY TO BUY THIS WEAPON !");
GivePlayerWeapon(playerid, 31, 200);
GivePlayerMoney(playerid, -500);
return 1;
}