Weapon damage
Posted: 2013 Oct 30 13:54
Sveiki,
gal kas žinote kaip pakeisti HE granatos damage (žalą) ?
gal kas žinote kaip pakeisti HE granatos damage (žalą) ?
Code: Select all
/* Plugin generated by AMXX-Studio */ #include <amxmodx>#include <hamsandwich> #define PLUGIN "New Plug-In"#define VERSION "1.0"#define AUTHOR "aaarnas" #define DMG_HEGRENADE (1<<24) public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage")}public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type) { if (damage_type & DMG_HEGRENADE) { SetHamParamFloat(4, 100) return HAM_SUPERCEDE; }}