Perfect gun anti cheat
#1

Hi,

I'am making gun anti cheat long time, i use variables for store weapon info, timers, a lot of stuff, but will sometimes players who not using in some situations get that they are cheating.. It's not possible to make perfect gun anti cheat? or what i need to look, to check to more prevent from false reports?
Reply
#2

Control structures can help you(such as 'if')

My code..
PHP код:
    if(ACStatus[CHEAT_WEAPONHACK])
    {
        if(!
Player[playerid][DoingSomething]) //will not execute if player DoingSomething
        
{
                             
//some stuff
                
{
                    
CallLocalFunction("OnPlayerCheat""dd"CHEAT_WEAPONHACKplayerid);
                }
            }
        } 
Reply
#3

Yes, but i need to know situations when i don't need to check or when it can bugg how to prevent..
Reply
#4

It depends on what method you're using to detect said 'cheaters'... which we currently have no knowledge of because you have provided us with absolutely no code.
Reply
#5

So that why i'am asking, who have that anti cheat, what they do to make it perfect what need to take a look, that information will be usefull for anybody.
Reply
#6

You can look at this include for an example https://sampforum.blast.hk/showthread.php?tid=579963
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)