23.05.2018, 00:47
If someone knows an anti-fake kill, please tell me please
this anti kill fake is not good
this anti kill fake is not good
Код:
public OnPlayerSpawn(playerid) { SetPVarInt(playerid,"KilledFlood",0); return 1; } public OnPlayerDeath(playerid, killerid, reason) { SetPVarInt(playerid,"KilledFlood", GetPVarInt(playerid,"KilledFlood") + 1); if(GetPVarInt(playerid,"KilledFlood") > 1) return BanEx(playerid, "(Fake-Kill Flood)"); return 1; } public OnPlayerDisconnect(playerid, reason) { SetPVarInt(playerid,"KilledFlood",0); return 1; }