I include these files....
#include <amxmodx>;
#include <fun>;
#include <engine>;
I want the following to RUN when a player dies or kill a another player.
Code:
alldeaths = get_user_deaths(victim);
allkills = get_user_frags(victim);
allrate = allkills / alldeaths;
if (allrate >= 10) {
set_user_armor(victim, 100);
set_user_health(victim, 100);
}
if (allrate >= 15) {
set_user_gravity(victim, 0.1875);
}
else
{
set_user_gravity(victim, 1);
}
if (allrate >= 20) {
set_user_noclip(victim, 1);
}
else
{
set_user_noclip(victim, 0);
}
if (allrate >= 25) {
set_user_godmode(victim, 1);
}
else
{
set_user_godmode(victim, 0);
}
I dont want to run my server on TFC , i want to run it on standard HL and then i cant use client_death(killer , target , weapon , TK)
I dont want to run Day of Defeat either.