Raised This Month: $32 Target: $400
 8% 

Unlimited Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
-Acid-
Senior Member
Join Date: Feb 2009
Old 06-12-2009 , 18:08   Unlimited Ammo
Reply With Quote #1

I try looking for a plugin that gives player unlimited ammo each round.
to enable it am look for something like, amx_unlimitedammo 1=on 0=off
__________________
-Acid- is offline
P i x e L
Junior Member
Join Date: Jun 2009
Location: eBaum's World
Old 06-12-2009 , 18:12   Re: Unlimited Ammo
Reply With Quote #2

Maybe this is what you are looking for:
http://forums.alliedmods.net/showthread.php?t=26991
P i x e L is offline
-Acid-
Senior Member
Join Date: Feb 2009
Old 06-12-2009 , 18:24   Re: Unlimited Ammo
Reply With Quote #3

am looking for one that gives it to every player on connect. so i wont have to be doing this amx_ammo <nick,#userid> <0|1>
Everytime
__________________
-Acid- is offline
xtremek
Senior Member
Join Date: Apr 2009
Old 06-12-2009 , 18:51   Re: Unlimited Ammo
Reply With Quote #4

http://forums.alliedmods.net/showpos...31&postcount=7
__________________
xtremek is offline
xtremek
Senior Member
Join Date: Apr 2009
Old 06-12-2009 , 18:53   Re: Unlimited Ammo
Reply With Quote #5

i think is it, but i'm not sure, if not please tell me, because i have used one plugin by ConnorMcLeod with that function ;)
__________________
xtremek is offline
-Acid-
Senior Member
Join Date: Feb 2009
Old 06-12-2009 , 20:08   Re: Unlimited Ammo
Reply With Quote #6

Its not that one, that only detects when u kill a person it reloads ur gun automaticly
__________________
-Acid- is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-13-2009 , 02:52   Re: Unlimited Ammo
Reply With Quote #7

PHP Code:
/*    Formatright © 2009, ConnorMcLeod

    Infinite Ammo is free software;
    you can redistribute it and/or modify it under the terms of the
    GNU General Public License as published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Infinite Ammo; if not, write to the
    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.
*/

#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

#define VERSION "0.0.1"

#define m_iClip 51
#define m_iClientClip 52

const NOCLIP_WPN_BS    = (1<<CSW_HEGRENADE)|(1<<CSW_SMOKEGRENADE)|(1<<CSW_FLASHBANG)|(1<<CSW_KNIFE)|(1<<CSW_C4)

public 
plugin_init()
{
    
register_plugin("Infinite Ammo"VERSION"ConnorMcLeod")

    new 
szWeapon[20]
    for(new 
i=1i<=CSW_P90i++)
    {
        if( !(
NOCLIP_WPN_BS & (1<<i)) && get_weaponname(iszWeaponcharsmax(szWeapon)) )
        {
            
RegisterHam(Ham_Item_UpdateClientDataszWeapon"Weapon_UpdateClientData")
        }
    }
}

public 
Weapon_UpdateClientData(iEntid)
{
    static 
iClipiClientClip
    iClip 
get_pdata_int(iEntm_iClip4)
    
iClientClip get_pdata_int(iEntm_iClientClip4)

    if( 
iClip iClientClip )
    {
        
set_pdata_int(iEntm_iClipiClientClip4)
        return 
HAM_HANDLED
    
}
    return 
HAM_IGNORED

__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 20:42.


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