I had so many problems with maps who had spawners which gives you weapons without secondary ammo.Of course there are also maps which lets you spawn with weapons without secondary ammo.This Plugin fills up an picked up weapons secondary ammo with their default/defined ammo upon first use, useful for maps with bad spawners or gamequips.You should never ever get a weapon in your hand without secondary ammo.Weapons are only filled once per pickup and round.
Cvars- sm_default_weapon_clips_version
- Plugin version (Not changeable)
Installation:
- Put "default_weapon_clips.smx" in your "../addons/sourcemod/plugins" directory.
- Load the plugin
- Have fun
Requirements- If you want to compile the plugin yourself, you need to obtain the SMLIB library
Credits:Berni, Chanz and the contributors for their
SMLIB library which i use to work with weapons.
NotesPlugin will not compile on the forums due the dependence of
SMLIBYou can define the weaponvalues yourself by editing the plugin and recompile it.If you add weapons for other games yourself it should work for them too, though i have not tested it.
TODO Request something Attached Files
default_weapon_clips.smx (11.6 KB)
Get Plugin or
Get Source (default_weapon_clips.sp - 3.6 KB)
Wyświetl pełny artykuł