[FilterScript] Weapon Shop (Using Arrays & Dialogs)
#6

Quote:
Originally Posted by dionisak0s
Посмотреть сообщение
As you can see there is a string format, that is the reason of me adding that value but it may be reduced to 1024, if I make it 128 then the other parts of the dialog are not going to showup.

Also about the weapon price, it seems that I forget to remove the string.

Edit: I will try to make a dynamic version with the ammo and prices changable in game but most likely I will not success with the ammo but the prices only
Well, imo it should be fine with these sizes:
For Pistols - 66.
For MicroSMGs - 38
For Shotguns - 50
For Rifles - 32
For Assault Rifles - 30
For Thrown - 34


Anyways, good luck, but why do you think you'll fail with the ammo?

You set it like 'Pistols[0][weaponammo] = 50;'
And then 'GivePlayerWeapon(playerid, Pistols[0][weaponid], Pistols[0][weaponammo]);'
... or something like that xD
Reply


Messages In This Thread
Weapon Shop (Using Arrays & Dialogs) - by dionisak0s - 09.02.2015, 16:57
Re: Weapon Shop (Using Arrays & Dialogs) - by daniscape - 09.02.2015, 17:03
Re: Weapon Shop (Using Arrays & Dialogs) - by Alex Magaсa - 09.02.2015, 23:54
Re: Weapon Shop (Using Arrays & Dialogs) - by Kyance - 10.02.2015, 12:45
Re: Weapon Shop (Using Arrays & Dialogs) - by dionisak0s - 10.02.2015, 14:02
Re: Weapon Shop (Using Arrays & Dialogs) - by Kyance - 10.02.2015, 16:04
Re: Weapon Shop (Using Arrays & Dialogs) - by Rog - 10.02.2015, 16:29
Re: Weapon Shop (Using Arrays & Dialogs) - by dionisak0s - 10.02.2015, 16:41
Re: Weapon Shop (Using Arrays & Dialogs) - by Kyance - 11.02.2015, 17:32
Re: Weapon Shop (Using Arrays & Dialogs) - by Kyance - 11.02.2015, 19:38
Re: Weapon Shop (Using Arrays & Dialogs) - by dionisak0s - 16.02.2015, 21:50
Re: Weapon Shop (Using Arrays & Dialogs) - by Rix70 - 31.01.2017, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)