Unlimited Clip Ammo
1 Attachment(s)
Unlimited Clip Ammo Description: This plugin will give a player unlimited ammo clip to all gun. Once you connect to the server you would already have unlimited clips, no commands needed. Commands: So far none. Just enter the server and the plugin will do its job =) How To Install: Install this like any other 3 party plugin. Credits Bugsy: For helping me code it. This is my very first plugin so yea go easy on me!! XD.:mrgreen: To Do //Add a menu when player connects if they want //unlimited clips Only Tested on CStrike |
Re: Unlimited Clip Ammo
To retrieve weapon entity id, you can just do this (include hamsandwich) :
#define m_pActiveItem 373 Code:
Also, use a define instead of fm_set_weapon_ammo function should be faster : #define fm_cs_get_weapon_ammo(%1,%2) set_pdata_int(%1, OFFSET_CLIPAMMO, %2, OFFSET_LINUX_WEAPONS) Register Curweapon event with flags "be" so you are sure player is alive. Last, you should check if the weapon is not knife or nade or c4 PHP Code:
|
Re: Unlimited Clip Ammo
Okay its now updated thanks
|
Re: Unlimited Clip Ammo
When is this going to be to be check by a plugin approve??
|
Re: Unlimited Clip Ammo
Quote:
|
Re: Unlimited Clip Ammo
oh i see
|
Re: Unlimited Clip Ammo
This plugin is much better
http://forums.alliedmods.net/showthread.php?t=26991 |
Re: Unlimited Clip Ammo
Quote:
|
Re: Unlimited Clip Ammo
Quote:
|
Re: Unlimited Clip Ammo
Quote:
Thats cool did not get that part.. will test |
All times are GMT -4. The time now is 10:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.