[FS?]Weapon+FakeKill AntiCheat Something... (UNTESTED)
#3

Quote:
Originally Posted by Divine
public OnPlayerUpdate(playerid)
{
for(new i=0; i<sizeof(NoobWeps); i++) // dont know how to explain this
if(GetPlayerWeapon(playerid) == NoobWeps[i]) // the "if" part now... (detects the "noob weps")
Kick(playerid); // kicks him ... or change it how u want it
}

public OnPlayerDeath(playerid, killerid, reason) // now here
{
for(new i=0; i<sizeof(NoobWeps); i++) // same thingy again
if(reason == NoobWeps[i]) // since reason is same like weapon id ... so just add it here lol
SendClientMessage(playerid, 0xF97804FF, "Fake-Kill Detected! Fuck you !"); // you should get this part ... do you ? p
Kick(playerid); // and the guy gets kicked .. or change how u want
}
ok this will kick everyone!!!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)