Watch
-
Add Favorite
Does this version work for you?
Omgot's Simple Unlimited Ammo
- Version v1.0
posted on 2008-06-18 09:42:55
by fpsbrian
Description
I was havng trouble finding one, so I made a really simple unlimited ammo script
[code]
block load
{
es_doblock corelib/noisy_on
es_xset pweapon 0
}
block unload
{
es_doblock corelib/noisy_off
}
event round_start
{
es_msg #multi #greenOmgot#lightgreen, you have unlimited ammo!
}
event weapon_fire
{
es_xset pfire 0
es_xset pweapon 0
es_format pweapon "weapon_%1" event_var(weapon)
es est_getweaponindex pfire event_var(es_username) server_var(pweapon)
es es_setindexprop server_var(pfire) "CBaseCombatWeapon.LocalWeaponData.m_iClip1" 124
}
[/code]
Installation
Add the following line somewhere in autoexec.cfg:
es_load omgot_ammo
Request a new feature
Discussion