SA-MP Forums Archive
Anti weapon hack big problem - 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: Anti weapon hack big problem (/showthread.php?tid=208578)



Anti weapon hack big problem - Pooh7 - 08.01.2011

Hi

I have very big problem with my anti weapon hack.
It's anticheat what use custom functions for giving and reseting weapons (DajOruzjeIgracu for give and ResetujIgracevaOruzja - for reset).

If player get a gun with different function, gun will not be write in variable, so anticheat will detect it as hack.
(function DajOruzjeIgracu will write in variable given weapon).

But, when player connect, anticheat detect cheat, but player isn't logget yet. Every time when player connect to server, anticheat detecting hack. How to fix it?

Sorry for my bad English...



EDIT:
Picture:



Re: Anti weapon hack big problem - Mikkel_Pedersen - 08.01.2011

Maybe you could check if the player was spawned? And ignore players who aren't spawned since weapon cheaters can't really do anything when they arent spawned anyway.


Re: Anti weapon hack big problem - Pooh7 - 08.01.2011

Okay, I will try to make check if player is spawned, thank you.


Re: Anti weapon hack big problem - Mean - 08.01.2011

You could post the code / Mogao bi nam pokazati kod.


Re: Anti weapon hack big problem - Pooh7 - 08.01.2011

Solved.

(Reљeno, postavio sam proveru da li se igrač spawnao i radi k'o podmazano )


Re: Anti weapon hack big problem - MadeMan - 09.01.2011

Are you resetting weapon variables in OnPlayerConnect ?


Re: Anti weapon hack big problem - _rAped - 09.01.2011

Madman: Let me quote something for you.
Quote:
Originally Posted by Pooh7
Solved.



Re: Anti weapon hack big problem - DRIFT_HUNTER - 09.01.2011

Try my...or take a look how its working
https://sampforum.blast.hk/showthread.php?tid=207781


Re: Anti weapon hack big problem - Kwarde - 09.01.2011

GUYS ARE YOU BLIND?
I mean, he already said: Solved (this is the 3rd time it's said).