Raised This Month: $12 Target: $400
 3% 

...


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Cristian505
Senior Member
Join Date: Oct 2020
Old 03-23-2021 , 18:05   ...
Reply With Quote #1

...

Last edited by Cristian505; 08-10-2022 at 14:38.
Cristian505 is offline
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
DarthMan
Veteran Member
Join Date: Aug 2011
Old 03-24-2021 , 04:29   Re: Weapon Models Changer (By me :D)
Reply With Quote #3

Chronic's plugin is also poorly coded, the code itself looks ugly and can be barely readable for some. Even more, it doesn't block the old models from precaching, while it precaches new ones, the old ones are also precached. A good plugin is this: https://forums.alliedmods.net/showthread.php?t=250244
DarthMan is offline
Cristian505
Senior Member
Join Date: Oct 2020
Old 03-24-2021 , 10:26   Re: Weapon Models Changer (By me :D)
Reply With Quote #4

...

Last edited by Cristian505; 08-10-2022 at 14:38.
Cristian505 is offline
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South K
Old 04-08-2021 , 04:11   Re: Weapon Models Changer (By me :D)
Reply With Quote #5

Quote:
Originally Posted by DarthMan View Post
Chronic's plugin is also poorly coded, the code itself looks ugly and can be barely readable for some. Even more, it doesn't block the old models from precaching, while it precaches new ones, the old ones are also precached. A good plugin is this: https://forums.alliedmods.net/showthread.php?t=250244
It uses orpheu and I do not want to use it since i'm using reHLDS in my server.
__________________

Last edited by nG_getwreck; 04-08-2021 at 04:12.
nG_getwreck is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-28-2021 , 07:02   Re: Weapon Models Changer (By me :D)
Reply With Quote #6

Quote:
Originally Posted by nG_getwreck View Post
It uses orpheu and I do not want to use it since i'm using reHLDS in my server.
No one told you specifically to use my plugin so I don't know why you even replied.
If you can't run it then you can't run it. Use something else.

@OP, unapproved. You need to post some quality work.
__________________
HamletEagle is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode