Quote:
Originally Posted by NeroX98
So guys is this Anti Fake-Kill system good ?
pawn Код:
new antifakekill[MAX_PLAYERS]; public OnPlayerDeath(playerid, killerid, reason) { antifakekill[playerid] ++; SetTimerEx("antifakekill2", 1000,false,"i",playerid); return 1; } forward antifakekill2(playerid); public antifakekill2(playerid) { antifakekill[playerid] --; if(antifakekill[playerid] > 3) { new string[64], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); format(string,sizeof string,"* %s was banned reason (Fake kill)",pName); SendClientMessageToAll(0xFF0000FF,string); BanEx(playerid, "Fake kill"); } return 1; }
Credits: AldoT
Will it work because my server is mysql based and if im putting this i must directly put it and if its buggy maybe it will ban all players... so is this system good ?
|
then add it and test with someone.