Jump to content
Sign in to follow this  
Toasted Duckie

setvehicleammo fails when out of ammo

Recommended Posts

Hey guys, I've been fighting with this all day now...

The setvehicleammo command is not working for me. It is working perfectly, except when the vehicle has no more ammo left in the turret... Is there any way to work around this? :confused:

Thanks!

Share this post


Link to post
Share on other sites

It happens with the Ammo trucks too. If a vehicle is totally empty, they won't refill. I wasted a few hours on this too, so don't worry ;)

Share this post


Link to post
Share on other sites
Try adding new magazines.

The problem is that I use the setvehicleammo command in a script, used for different vehicles with different weapons and different ammo types. Is there a way to specify which ammotype a vehicle uses by a command?

edit: hmm that would be the magazines command yea? I'll play around with that..

Edited by Toasted Duckie

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×