new Float:Distance = GetDistanceBetweenPlayers(damagedid, playerid);
if(Distance > 350) {
new string[128];
format(string, sizeof(string), "Hau-DZ: %s da bi kick boi Hau-DZ, ly do: Hack Fire Xa", GetPlayerNameEx(playerid), GetPlayerNameEx(damagedid));
SendClientMessageToAll(COLOR_LIGHTRED, string);
KickWithMessage(playerid, "Ban da bi kick, Ly do: Hack Fire Xa");
Kick(playerid);
return 1;
}
if(amount > 70) {
new string[128];
format(string, sizeof(string), "Hau-DZ: %s da bi kick boi Hau-DZ, ly do: Hack Dame", GetPlayerNameEx(playerid), GetPlayerNameEx(damagedid));
SendClientMessageToAll(COLOR_LIGHTRED, string);
KickWithMessage(playerid, "Ban da bi kick, Ly do: Hack Dame");
Kick(playerid);
return 1;
}
if (damagedid == INVALID_PLAYER_ID) return 1;
if (playerid == INVALID_PLAYER_ID) return 1;