• A way to limit how much ammo a person can carry.
    2 replies, posted
Hey! I need a way to make it so my game mode edit makes it so a person can only carry so much ammo for a certain weapon class(SMG, Pistol, etc.) Im pretty new to lua, but im learning, and since a lot of you seem pretty good with it, im pretty sure I can get an answer.
well I don't like it when people give someone the hole code and they don't learn anything so [url]http://wiki.garrysmod.com/?title=Player.SetAmmo[/url] [url]http://wiki.garrysmod.com/?title=Player.GetAmmoCount[/url] should help you so you want too find out how much ammo he has then if its over the amount you want set it too the max amount
Alright, thanks a bunch :D
Sorry, you need to Log In to post a reply to this thread.