AntiCheat [HELP]
#6

pawn Код:
OnPlayerDeath(playerid, killerid, reason)
{
If(GetPlayerWeapon(killerid) == MINIGUN)//Define the miniguns model id
{
Ban(killerid);
}
return 1;
}
Or you can make an enum and saves pWeapon1 - 12 and Then saves it and on OnPlayerUpdate make a script in which players saved weapons matches the current weapons. Its also a good way
Reply


Messages In This Thread
AntiCheat [HELP] - by Sting. - 17.04.2012, 13:52
Re: AntiCheat [HELP] - by Cjgogo - 17.04.2012, 14:03
Re: AntiCheat [HELP] - by iNorton - 17.04.2012, 14:05
Re: AntiCheat [HELP] - by Sting. - 17.04.2012, 15:25
Re: AntiCheat [HELP] - by WarriorEd22 - 17.04.2012, 15:32
Re: AntiCheat [HELP] - by Spooky - 17.04.2012, 15:35
Re: AntiCheat [HELP] - by Sting. - 18.04.2012, 07:22
Re: AntiCheat [HELP] - by Cjgogo - 18.04.2012, 07:25
Re: AntiCheat [HELP] - by Shetch - 18.04.2012, 07:26
Re: AntiCheat [HELP] - by Cjgogo - 18.04.2012, 07:28

Forum Jump:


Users browsing this thread: