AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Infinite Ammo (https://forums.alliedmods.net/showthread.php?t=123100)

Machine 04-02-2010 11:48

[L4D2] Infinite Ammo
 
2 Attachment(s)
Description:

Infinite Ammo for L4D2.
This plugin gives admins more options for infinite ammo.

Command:
REQUIRES Admin Ban -
l4d2_iammo <user id | name | @all> <0 | 1> - Gives or removes infinite ammo to a player.

Cvar:
l4d2_iammo_enable <0|1|2> Enable Infinite Ammo? 0=Off 1=On 2=Everyone
l4d2_iammo_gl <0|1|2> Allow infinite ammo on grenade launcher? 0=Off 1=On 2=Only
l4d2_iammo_m60 <0|1|2> Allow infinite ammo on the M60? 0=Off 1=On 2=Only
l4d2_iammo_chainsaw <0|1|2> Allow infinite ammo on the chainsaw? 0=Off 1=On 2=Only
l4d2_iammo_throwables <0|1|2> Allow Infinite Ammo on Throwables? 0=Off 1=On 2=Only
l4d2_iammo_upgradeammo <0|1> Allow Infinite Explosive and Incendiary Ammo? 0=Off 1=On
l4d2_iammo_meds <0|1|2> Allow Infinite Ammo on Medkits? 0=Off 1=On 2=Only
l4d2_iammo_defibs <0|1|2> Allow Infinite Ammo on Defibrillators? 0=Off 1=On 2=Only
l4d2_iammo_pills <0|1|2> Allow Infinite Ammo on Pills? 0=Off 1=On 2=Only
l4d2_iammo_shots <0|1|2> Allow Infinite Ammo on Shots? 0=Off 1=On 2=Only
l4d2_admin_override <0|1> Admins with infinite ammo always have all settings enabled? 0=Off 1=On

Changelog:

1.0
- Release
1.1
- Made the cvar work as intended.
1.2
- Bug fixes, can use command in console.
1.3
- Fixed clip sizes on some weapons not being correct.
- Fixed issue with infinite ammo not staying on mapchange.
1.4
- Added M60 Support
- Added new convars for disabling certain weapons
1.5
- Added Throwables and Upgrade Ammo Cvars.
- Updated Cvar options to make only certain weapons have Infinite Ammo.
- Swapped OnGameFrame for Weapon Fire Events (Better Performance)
- I renamed the cmds and cvars from sm_ to l4d2_, the new config file will be named l4d2_iammo_config. You may delete the sm_iammo_config.
1.5.1
- Extra Error Checking/Bug Fixes
1.5.5
- Added support for medkits, defibs, pills and shots
- Added Adminmenu support
- Removed config load/save, just use the adminmenu

tmjritz 04-02-2010 18:31

Re: [L4D2] Infinite Ammo
 
i couldn't get it to work i tried sm_iammo_enable 2 in console didn't work

Machine 04-02-2010 19:06

Re: [L4D2] Infinite Ammo
 
Its a cvar not a command, so make sure you do sm_cvar sm_iammo_enable 2.

tmjritz 04-02-2010 22:48

Re: [L4D2] Infinite Ammo
 
i set it on the server and it still doesn't work for some reason

Machine 04-03-2010 01:09

Re: [L4D2] Infinite Ammo
 
My apologies, cvar wasn't working as intended.

Updated to 1.1, you should be able to use the cvar in server console now.

REDSCOUT 04-11-2010 00:06

Re: [L4D2] Infinite Ammo
 
Well, I am going to try this out and see for myself if this thing works because all I know is that TF2 Unlimited ammo Works :D :D :D :D :D

ReHAXor 04-18-2010 14:12

Re: [L4D2] Infinite Ammo
 
1 Attachment(s)
hi @ all

i have compiled a version
without infinite ammo for the
grenade launcher.

if anybody is interested in to use - feel free.

quang20082008 04-29-2010 08:32

Re: [L4D2] Infinite Ammo
 
Cool, M60 :)), thanks :@)
test it now :@), why you no notify :@)?

quang20082008 04-29-2010 11:15

Re: [L4D2] Infinite Ammo
 
Tested :@), not different sv_infinite_ammo :@)

REDSCOUT 05-15-2010 18:38

Re: [L4D2] Infinite Ammo
 
Infinite Ammo for Head Admin only >:D


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

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