Keep Weapons When Ammo Reaches 0.
#1

Is there is any way i can prevent a weapon from leaving the player when it runs out of ammo??
Reply
#2

Get his weapon, store it somewhere and when he refills ammo, give it back to him ?
Reply
#3

Unless you give the player ammo, the game auto changes the weapon to the next one.
Reply
#4

Couldn't you save the weapon to a file, and once the ammo runs out. Wait until the player buys more ammo(make that feature) and when he buys the ammo detect if he has that weapon in a file, and if he does use the GivePlayerWeapon function.
Reply
#5

It's GTA:SA's code that gets rid of your weapon once the ammo depleted.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)