Thread: ...
View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-23-2021 , 18:45   Re: Weapon Models Changer (By me :D)
Reply With Quote #2

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.
__________________

Last edited by OciXCrom; 03-23-2021 at 18:56.
OciXCrom is offline
Send a message via Skype™ to OciXCrom