This is not a plugin. It's a bunch of code put together to look like one.
A real plugin that does the job properly already exists -
https://forums.alliedmods.net/showthread.php?t=43979
Please take some time to learn before posting any plugins here.
Quote:
I wanted to make it very simple for bad scripters like me.
|
You're making plugins for everyone to use, not scripters only.
Even though you say your plugin is "simple", it's actually very poorly coded.
The least you could to is cache the "get_user_weapon" call instead of calling it 15 times each time your ammo count changes.
__________________