Code:
public event_limit(id)
{
new g_hp
g_hp = get_user_health(id)
new y = g_damage_taken[id]
if (y > (g_hp))
{
(y = (g_hp))
}
return PLUGIN_CONTINUE;
}
Anyone see anything wrong with this... I've compiled this with the rest of the script and it doesnt limit the damage.. any ideas? Thanks all for helping