I currently have an issue where users who drop their weapon get new ammo upon pickup. I wonder if it's possible give the users ammo once per weapon, and if they drop and pick the weapon up again it won't give them any more ammo. I did a quick Google but I found more tutorials on "how to glitch more ammo" than how to solve the issue.
Who the hell wants to glitch more ammo into Garry's Mod? Out of everything, people make tutorials on how to glitch ammo on a sandbox game.
[QUOTE=AnonTakesOver;44534737]Who the hell wants to glitch more ammo into Garry's Mod? Out of everything, people make tutorials on how to glitch ammo on a sandbox game.[/QUOTE]
On gamemodes where you have to purchase ammo maybe?
[QUOTE=Cyberuben;44534757]On gamemodes where you have to purchase ammo maybe?[/QUOTE]
Still doesn't make much sense. Anyway so if they waste their ammo on their gun then drop it and pick it back up it resets to default ammo?
Set SWEP.Primary.DefaultClip to 0 so they aren't given more ammo when they pick it up.
[QUOTE=Kogitsune;44534964]Set SWEP.Primary.DefaultClip to 0 so they aren't given more ammo when they pick it up.[/QUOTE]
Yes, but then everyone who buys a weapons has to buy ammo seperately?
[QUOTE=Cyberuben;44535050]Yes, but then everyone who buys a weapons has to buy ammo seperately?[/QUOTE]
Just give them ammo when you give them the gun
[QUOTE=King Penisless;44535067]Just give them ammo when you give them the gun[/QUOTE]
That's exactly the problem. When a player drops his / her weapon, it's a spawned_weapon. If a player purchases a weapon and gets it from a shipment, it's a "spawned_weapon". So it's one way or the other, they don't get ammo or they can glitch ammo. I know other servers have resolved the issue, I can't seem to find how.
[QUOTE=Cyberuben;44535122]That's exactly the problem. When a player drops his / her weapon, it's a spawned_weapon. If a player purchases a weapon and gets it from a shipment, it's a "spawned_weapon". So it's one way or the other, they don't get ammo or they can glitch ammo. I know other servers have resolved the issue, I can't seem to find how.[/QUOTE]
Force them to buy ammo? It makes perfect sense, especially for RP.
Sorry, you need to Log In to post a reply to this thread.