SA-MP Forums Archive
Weapon anticheat - Not working. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Weapon anticheat - Not working. (/showthread.php?tid=164558)



Weapon anticheat - Not working. - Whizion - 31.07.2010

-----------------------


Re: Weapon anticheat - Not working. - straco - 31.07.2010

Where you reseting GettingWeapon[playerid] ?


Re: Weapon anticheat - Not working. - Whizion - 31.07.2010

When the player connects, and in the function CheckPlayerWeaponData.


Re: Weapon anticheat - Not working. - straco - 31.07.2010

Only in connect player becouse you have

pawn Code:
if(GettingWeapon[playerid] == 0){
GettingWeapon[playerid] = 0
}
you need reset it in SafeGivePlayerWeapon at the end or in SavePlayerWeaponData


Re: Weapon anticheat - Not working. - GaGlets(R) - 01.08.2010

Seems to be the best weapon anticheat right now...