Anti weapon hack big problem
#1

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:
Reply
#2

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.
Reply
#3

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

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

Solved.

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

Are you resetting weapon variables in OnPlayerConnect ?
Reply
#7

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)