圖 1.
public plugin_init() { register_plugin(40, "1.0", "tyty3131hkhk"); RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage", 0); return 0; } public fw_TakeDamage(victim, inflictor, attacker, Float:Damage, damage_type) { return 4; }