Anti-Cheat Bug Help
#9

Quote:
Originally Posted by Joe Staff
You guys don't seem to understand
pawn Код:
if(GetPlayerWeapon(a) >= 1)
{
  //ban code
}
GetPlayerWeapon gives you the weapon's ID, the only weapon that is weaponid '0' is the 'fists' weapon, or no weapon. So if you have ANY weapon, that above code will succeed and perform the ban code.
I dont get you. Are you saying thats a good thing or a bad thing?
Reply


Messages In This Thread
Anti-Cheat Bug Help - by indy-greg - 06.09.2009, 16:13
Re: Anti-Cheat Bug Help - by indy-greg - 06.09.2009, 16:16
Re: Anti-Cheat Bug Help - by Joe Staff - 06.09.2009, 16:19
Re: Anti-Cheat Bug Help - by indy-greg - 06.09.2009, 16:33
Re: Anti-Cheat Bug Help - by yeswecanchange09 - 06.09.2009, 20:36
Re: Anti-Cheat Bug Help - by dice7 - 06.09.2009, 20:44
Re: Anti-Cheat Bug Help - by Joe Staff - 07.09.2009, 03:25
Re: Anti-Cheat Bug Help - by indy-greg - 07.09.2009, 17:11
Re: Anti-Cheat Bug Help - by indy-greg - 07.09.2009, 17:35
Re: Anti-Cheat Bug Help - by Ironboy500 - 07.09.2009, 18:43

Forum Jump:


Users browsing this thread: 1 Guest(s)