I get an error with fakedamage while compiling, here is the code:
Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
public plugin_init() {
register_plugin("Admin_Damage", "1", "Meta")
register_cvar("amx_damage", "0")
register_event("ResetHUD","damage","be");
}
public damage()
{
new damn = get_cvar_num("amx_damage")
fakedamage(+damn);
return PLUGIN_CONTINUE
}
__________________