amx_ammo, ADMIN_LEVEL_A(flag 'm'),<authid, nick, @team or #userid> <0=OFF 1=ON>
[ns]
(ns module required)
all ammo except mines + hand nades, infinite jetpack + energy
on ns_ maps a player with a shotgun will leave an ammo trail, which will take maybe 20(?) sec to disolve
[tfc]
(tfcx module required)
should work for all weapons (nades included), except the detpack
[dod]
(dodfun and dodx module required)
should work for all weapons (nades included)
display of actual ammo in backpack gets updated on reload
[ts]
(engine, tsx, and tsfun modules required)
no reloading required
all weapons except nades and knifes
current method does not make use of the infinite ammo powerup, i plan on making this method an option in the future, along with double fire rate
[sven]
(fun module required)
all types of ammo except: handgrenade,tripmine,snark,satchel (these have proved to be very buggy and are on my todo list)
you should stop seeing/hearing tons of ammo clips once you max out (~20 seconds)
i'll use the svencoop module when it's officially maintained+compiled by the amxmodx team
[esf]
(engine module required)
infinite ki
[cs]
http://forums.alliedmods.net/showthread.php?p=7796
[all]
yes, an every 0.5-2 second task is very dirty, but in the long term i have not noticed a hit in preformace or any crashes caused by this
credits:
Twilight Suzuka for recently updating the ts modules and giving me a beta version.
faluco for recently updating the tfcx modules and giving me a beta version.
used godmode template from admin_allinone maintianed by BigBaller,
* -) ADMIN GODEMODE v0.9.3 by f117bomb.
template from AssKicR's ammo plugin.
Suicid3 for the module filter help + code.
remove ent + find ent stuff from EKS Dump Ent Info
http://forums.alliedmods.net/showthread.php?t=4533 .
set ki method from:{[ Corona-Bytes.NET ] EvolutionX Core Plugin
(c) Corona - Bytes .NET coders ::
[email protected]
> 2005 Corona Bytes :: http://www.corona-bytes.net}.
Charming for ammo timelimit idea.
todo: more ammo types (the ones that stack weapon_'s), better method, only ammo for weapon in hand, support for as many mods as possible, get rid of the need to reload weapons, change ns-shotgun code after the next amxmodx release, ammo for all cvar, nade cvar, more nade support, <0=OFF 1=ON 2=until-death 3..4..5..=time>
19d/1m/2006 - started documenting code modifications
19d/1m/2006 - fixed my ts akimbo give and remove handling
19d/1m/2006 - cleaned up the dod code
6d/4m/2006 - fixed bug, engine module was accessed when it wasn't loaded and wasn't needed
24d/9m/2006 - made mod name check case insensitive
24d/10m/2006 - got rid of that multi mod voodoo and spit the single file into 6, 1 per mod, so that it will work with the newest version of amxmodx
note to self, ts freeze infinite ammo powerup offsets:
amx_offset_setthis 423 2;amx_offset_setthis 425 1141024713 (first offset uses the ts powerup constants)
note: tfc + ts need modules newer than 1.60