What is the name of the ammunition for me to spawn in fivem?
for the weapon and WEAPON_ [name of the weapon] and the ammunition
What is the name of the ammunition for me to spawn in fivem?
for the weapon and WEAPON_ [name of the weapon] and the ammunition
he is asking for a way to make the AMMUNITION available in the weapons store to buy … I am looking for the same
Yes I need same
Me as well
You’re in luck, it’s been 2 years since I asked that question and I learned enough to be able to do it myself. If you need help just send me a private message.
FiveM is a community, you should be sharing information in the forums instead of keeping things secret in PMs lol.
AddAmmoToPed(
ped --[[ Ped ]],
weaponHash --[[ Hash ]],
ammo --[[ integer ]]
)
I have a YouTube channel where I spread free information about FiveM and I also support people who do not understand many of the basic and essential features so that they can configure their server, do you think it is secret?
By the way, what you sent him is not what he’s looking for. I plan to send him directly the script that he is looking for. Cheers
What is the correct script you are talking about?
Well can u at least tell us ur youtube channel???
You can use the website created by Vespura to get all of the stats for weapons Here.
How i can spawn ammo for the pistol
How is it pistol ammo resp name?
/giveitem (id) (resp_name) (amount)
Bit late but it is as easy as it seems for example /giveitem [ID] [item] [ammount]
That is the layout, So to gte pistol ammo it would be /giveitem 1 pistol_ammo 50
Yep! And thats how it works for all weapons .
pistol_ammo , sniper_ammo , rifle_ammo etc.
its not working with sniper ammo
snp_ammo
i still dont know rpg ammo
can you please give us the script too?
here is a link to a script I made to give all the weapons in the game.
what about sniper ammo
Should be snp_ammo.