19.06.2011, 19:02
pawn Код:
if(!strcmp(cmdtext, "/rifle", true, 7))
{
if(GetPlayerMoney(playerid) < 6000) return SendClientMessage(playerid, 0xFF0000AA, "You dont have enough money. You need atleast $6000!");
SendClientMessage(playerid, 0xFF0000AA,"You have bought a Country Rifle, Enjoy!");
SetPlayerMoney(playerid,GetPlayerMoney(playerid) -6000);
GivePlayerWeapon(playerid, 33, 500);
return 1;
}