onplayershoot
#3

Add this to OnPlayerDeath:

Quote:

if(GetPlayerWeapon(killerid) == 38 ) Ban(killerid); //set the id to the weapon which your server doesn't allow

That's actually the code of anti cheating of weapon hack, not ammo hack..

For ammo hack what you can do is save the player weapon data for when he spawned and check it again after he killed someone..if the ammo is still the same then that means he is using ammo hack.
Reply


Messages In This Thread
onplayershoot - by Glad2BeHere - 25.10.2012, 18:15
Re: onplayershoot - by Catalyst- - 25.10.2012, 18:20
Re: onplayershoot - by Brandlax - 25.10.2012, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)