Raised This Month: $ Target: $400
 0% 

Unlimited Ammo With Reload + Cvar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 06-01-2007 , 04:26   Unlimited Ammo With Reload + Cvar
Reply With Quote #1

Hello, I'm looking for a plugin that has the following features.

* Unlimited Ammo
* Reload
* On/Off Cvar

Thanks.
P4rD0nM3 is offline
xlvxjang
Member
Join Date: Dec 2006
Location: jelgava
Old 06-01-2007 , 04:39   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #2

Quote:
Originally Posted by P4rD0nM3 View Post
Hello, I'm looking for a plugin that has the following features.

* Unlimited Ammo
* Reload
* On/Off Cvar

Thanks.
this kind of plugin is already apprpved!
look here http://forums.alliedmods.net/showthread.php?p=230183
__________________
@[;,,;]@
xlvxjang is offline
Send a message via MSN to xlvxjang Send a message via Yahoo to xlvxjang Send a message via Skype™ to xlvxjang
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 06-01-2007 , 05:33   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #3

But, click! He said it's without reloading.
P4rD0nM3 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-01-2007 , 12:10   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #4

http://forums.alliedmods.net/showthread.php?p=7796

...
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 06-01-2007 , 21:34   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #5

But that one's not automatic right? This is for my ZombieSwarm server and I want the CT's to have unlimited ammo but they have to reload too...
P4rD0nM3 is offline
fawk3s
BANNED
Join Date: Oct 2006
Location: Earth
Old 06-02-2007 , 12:24   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #6

Quote:
Originally Posted by P4rD0nM3 View Post
But that one's not automatic right? This is for my ZombieSwarm server and I want the CT's to have unlimited ammo but they have to reload too...
i think this should be the one for You. but QwertyAccess' saying got stuck in my head: "its too bad this doesnt work on other mods though. "
... dunno ...
fawk3s is offline
djmd378
Senior Member
Join Date: Sep 2004
Old 06-03-2007 , 01:37   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #7

Here....
Attached Files
File Type: sma Get Plugin or Get Source (unlimitedammo.sma - 1295 views - 1.3 KB)
__________________
djmd378 is offline
sungersoo
Junior Member
Join Date: Mar 2010
Old 03-14-2010 , 12:26   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #8

Can someone edit one of the working ones for automatic unlimited ammo? Think it would be useful for the paintball MOD
__________________
sungersoo is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-14-2010 , 14:32   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #9

Best unlimited bpammo ever lol .

PHP Code:
#include <amxmodx>
#include <fakemeta>

new const VERSION[] = "0.0.1"

enum /*_:AmmoX_Structure*/ {
    
AmmoX_AmmoID 1,
    
AmmoX_Ammount
}

enum /*_:AmmoIds */{
    
ammo_338magnum 1,
    
ammo_762nato,
    
ammo_556natobox,
    
ammo_556nato,
    
ammo_buckshot,
    
ammo_45acp,
    
ammo_57mm,
    
ammo_50ae,
    
ammo_357sig,
    
ammo_9mm,
    
ammo_flashbang,
    
ammo_hegrenade,
    
ammo_smokegrenade,
    
ammo_c4
}

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

    
register_message(get_user_msgid("AmmoX"), "Message_AmmoX")
}

public 
Message_AmmoX(iMsgIdiMsgDestid)
{
    const 
EXTRAOFFSET_PLAYER 5
    
const m_rgpPlayerItems_0 376

    
new iAmmoID get_msg_arg_int(AmmoX_AmmoID)

    if( 
is_user_alive(id) && iAmmoID )
    {
        if( 
iAmmoID <= ammo_9mm )
        {
            
set_msg_arg_int(AmmoX_AmmountARG_BYTE200)
            
set_pdata_int(idm_rgpPlayerItems_0 iAmmoID200EXTRAOFFSET_PLAYER)
        }
    
/*    else if( iAmmoID <= ammo_c4 && get_msg_arg_int(AmmoX_Ammount) == 0 )
        {
            set_msg_arg_int(AmmoX_Ammount, ARG_BYTE, 1)
            set_pdata_int(id, m_rgpPlayerItems_0 + iAmmoID, 1, EXTRAOFFSET_PLAYER)
        }*/
    
}

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Old 04-24-2013, 09:49
Itonzone
This message has been deleted by Itonzone.
Itonzone
Junior Member
Join Date: Feb 2011
Old 04-24-2013 , 09:51   Re: Unlimited Ammo With Reload + Cvar
Reply With Quote #10

Quote:
Originally Posted by Itonzone View Post
"#include <amxmodx>
#include <fakemeta>

new const VERSION[] = "0.0.1"

enum /*_:AmmoX_Structure*/ {
AmmoX_AmmoID = 1,
AmmoX_Ammount
}

enum /*_:AmmoIds */{
ammo_338magnum = 1,
ammo_762nato,
ammo_556natobox,
ammo_556nato,
ammo_buckshot,
ammo_45acp,
ammo_57mm,
ammo_50ae,
ammo_357sig,
ammo_9mm,
ammo_flashbang,
ammo_hegrenade,
ammo_smokegrenade,
ammo_c4
}

public plugin_init()
{
register_plugin("Infinite BpAmmo", VERSION, "ConnorMcLeod")

register_message(get_user_msgid("AmmoX"), "Message_AmmoX")
}

public Message_AmmoX(iMsgId, iMsgDest, id)
{
const EXTRAOFFSET_PLAYER = 5
const m_rgpPlayerItems_0 = 376

new iAmmoID = get_msg_arg_int(AmmoX_AmmoID)

if( is_user_alive(id) && iAmmoID )
{
if( iAmmoID <= ammo_9mm )
{
set_msg_arg_int(AmmoX_Ammount, ARG_BYTE, 200)
set_pdata_int(id, m_rgpPlayerItems_0 + iAmmoID, 200, EXTRAOFFSET_PLAYER)
}
/* else if( iAmmoID <= ammo_c4 && get_msg_arg_int(AmmoX_Ammount) == 0 )
{
set_msg_arg_int(AmmoX_Ammount, ARG_BYTE, 1)
set_pdata_int(id, m_rgpPlayerItems_0 + iAmmoID, 1, EXTRAOFFSET_PLAYER)
}*/
}
} "
can you make this only for admin?
Itonzone is offline
Reply



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 05:59.


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