amx_ammogiver <1/0> = enable/disable DoD AmmoGiver (admin command)
say /giveammo = get specified amount of ammo for weapon in hand say giveammo = get specified amount of ammo for weapon in hand
CVARs (for amxx.cfg): =====================
dod_ammogiver 1 //enable DoD AmmoGiver by default
dod_ammogiver_maxrefills //set how many times ammo can be //-refilled between respawns dod_ammogiver_bullets //set how many bullets to give //-(pistols/rifles/smgs/mgs) dod_ammogiver_grenades //set how many grenades to give //-(no need to explain) dod_ammogiver_shells //set how many shells to give //-(bazooka/panzerschreck/piat)
This plugin allows players to refill the ammo of the weapon/grenade currently in their hand by saying "/giveammo". You can set how often they can refill their ammo between respawns, as well as the amount of bullets, shells and grenades to give.
AMX Mod X 1.76, DoDx & DoDFun modules required!
To do:
- nothing so far
Changelog:
- 25.10.2004 Version 0.8beta Initial Beta
- 19.12.2006 Version 1.0 No need to be a beta anymore! Added public cvar for tracking Used dod_client_spawn instead of ResetHud Changed client_authorized to client_putinserver Replaced some IF statements with switches Added PCVARS Added some 'connected' & 'alive' checks Got rid of unneccesary code Put 'dod' prefix on cvars (didnt change console command) Made code more 'readable'