#6

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;
}
Reply


Messages In This Thread
Help - by KinderClans - 29.07.2018, 20:32
Re: Help - by Rufio - 29.07.2018, 20:36
Re: Help - by KinderClans - 29.07.2018, 20:39
Re: Help - by Rufio - 29.07.2018, 20:41
Re: Help - by Rufio - 29.07.2018, 20:47
Re: Help - by Florin48 - 29.07.2018, 20:52
Re: Help - by Rufio - 29.07.2018, 20:53
Re: Help - by KinderClans - 29.07.2018, 20:54
Re: Help - by Rufio - 29.07.2018, 20:59
Re: Help - by KinderClans - 29.07.2018, 21:11

Forum Jump:


Users browsing this thread: 2 Guest(s)