30.07.2015, 16:11
You need to make it better in your anti cheat nobudy can use Hunter / Hydra /
Also they cant use weapon 35/36/38
you need to improve it what if any admin want to make event ! ? and he give all players Weapon 35 all got kicked.
Also you need to Fix the Anti Health hack what if two players in same team hit each other they dont lose health both got kicked for health hack?
this should be this
I know its basic Anti Cheat .
Nice work.
Also they cant use weapon 35/36/38
you need to improve it what if any admin want to make event ! ? and he give all players Weapon 35 all got kicked.
Also you need to Fix the Anti Health hack what if two players in same team hit each other they dont lose health both got kicked for health hack?
Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
new Float:Health;
GetPlayerHealth(playerid, Health);
if(Health == 100)
{
SendClientMessage(playerid, 0xFFFFFFFF, "You have been kicked (Reason: Health hack");
SetTimerEx("KickPlayer", 1000, false, "i", playerid);
}
return 1;
}
Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
new Float:Health;
if(GetPlayerTeam(issuerid) != GetPlayerTeam(playerid)}
{
GetPlayerHealth(playerid, Health);
if(Health == 100)
{
SendClientMessage(playerid, 0xFFFFFFFF, "You have been kicked (Reason: Health hack");
SetTimerEx("KickPlayer", 1000, false, "i", playerid);
}
}
return 1;
}
Nice work.

