AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   weapons_maxclip can it be cut? (https://forums.alliedmods.net/showthread.php?t=156056)

neverminde 04-30-2011 11:39

weapons_maxclip can it be cut?
 
OK thanks. solved.
=============================================

Hi, i am using this plugin Weapons Max Clip for deagle mod
http://forums.alliedmods.net/showthread.php?t=82093

But there are no other guns, so i want to cut it.
I looked at the code. So i realized that i cant do it by myself.
But is it worth to cut? Perhaps he is the most optimized?

ConnorMcLeod 04-30-2011 12:42

Re: weapons_maxclip can it be cut?
 
What you mean "cut it" ?

That plugin only enables hooks for weapon you register.

neverminde 04-30-2011 13:16

Re: weapons_maxclip can it be cut?
 
I want change maxclip only for desert eagle.

ANTICHRISTUS 04-30-2011 15:03

Re: weapons_maxclip can it be cut?
 
Quote:

Originally Posted by ConnorMcLeod
That plugin only enables hooks for weapon you register.

for example, if you changed the deagle's skin using a revolver model, then: in amxx.cfg add this
Code:

weapon_maxclip deagle 6
this will work only for deagle :D

neverminde 04-30-2011 15:13

Re: weapons_maxclip can it be cut?
 
yea...just..you know some parts of code never use for me. 2 last functions (shotguns)
So i want to ask you: will it take less traffic load if cut something?

ConnorMcLeod 04-30-2011 16:37

Re: weapons_maxclip can it be cut?
 
No, if you don't add any shotgun commands, those 2 blocks are never called because they are not registered.


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

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