29.07.2018, 20:52
try now
Код HTML:
OnPlayerBuyInAmmuNation(playerid, weaponid, ammo, cost) { new str[256]; GivePlayerMoney(playerid, -cost); GivePlayerWeapon(playerid, weaponid, ammo); if(!weaponid) SetPlayerArmour(playerid, ammo); format(str, sizeof(str), "* Weapon purchased for {2ebc29}$%d. {ffffff}Thank you for shopping with Ammunation!", cost); SendClientMessage(playerid, -1, str); return 1; }