shanapu / MyJailbreak

A rewrite of Franugs Special Jailbreak and merge of eccas, ESK0s & zipcores Jailbreak Warden
https://forums.alliedmods.net/showthread.php?t=283212
GNU General Public License v3.0
51 stars 36 forks source link

[BUG] Zombie Eventday: Infinite ammo feature is bugged #383

Open azalty opened 3 years ago

azalty commented 3 years ago

Describe the bug

It will only give one bullet to the terrorist instead of giving an entire magasine.

Environment

Additional context

sv_infinite_ammo 2 is probably not a solution because it will also give nades, though we can try to remove nades from players

azalty commented 3 years ago

hmm, there seems to be a problem since this event actually use sv_infinite_ammo 2

what I think: back in the days, map makers spawned weapons with the ammo attribute set to 1 Nowadays, it gives full ammo + 1 bullet, which for some reason is counted separately from the others sv_infinite_ammo 2 could instantly give back that 1 bullet instead of full ammo

Fix idea:

Check https://forums.alliedmods.net/showthread.php?t=260445