SA-MP Forums Archive
Perfect gun anti cheat - 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)
+--- Thread: Perfect gun anti cheat (/showthread.php?tid=614933)



Perfect gun anti cheat - MerryDeer - 15.08.2016

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?


Re: Perfect gun anti cheat - Fairuz - 15.08.2016

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);
                }
            }
        } 



Re: Perfect gun anti cheat - MerryDeer - 15.08.2016

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


Re: Perfect gun anti cheat - Threshold - 15.08.2016

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.


Re: Perfect gun anti cheat - MerryDeer - 15.08.2016

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.


Re: Perfect gun anti cheat - Fairuz - 15.08.2016

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