Anti hack Dialog-Hider-2 help me please - 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: Anti hack Dialog-Hider-2 help me please (
/showthread.php?tid=638091)
Anti hack Dialog-Hider-2 help me please -
skiplovebra - 26.07.2017
Can someone help me against this hack when using the END key? Is kicked?
https://www.youtube.com/watch?v=l3gSvbWps54
Re: Anti hack Dialog-Hider-2 help me please -
Xtra - 26.07.2017
Quote:
Originally Posted by skiplovebra
|
you want to make a anti-cheat when pressing end key you get kicked -_- lots of Innocent player's will get kicked
Re: Anti hack Dialog-Hider-2 help me please -
skiplovebra - 26.07.2017
Quote:
Originally Posted by Xtra
you want to make a anti-cheat when pressing end key you get kicked -_- lots of Innocent player's will get kicked
|
I want to fight this hack please help me please
Re: Anti hack Dialog-Hider-2 help me please -
jlalt - 26.07.2017
do a var which being true when dialog showed to player and become false when dialog response called.
then check if its true and a player moved around the map [ used arrows ], if yes then simply kick him.
Re: Anti hack Dialog-Hider-2 help me please -
skiplovebra - 26.07.2017
How can I prevent it?
Re: Anti hack Dialog-Hider-2 help me please -
arad55 - 26.07.2017
You can check the player position in OnPlayerDialogResponse, if he's far from where the dialog could be accessed, it might be he is hacking. So, you could either kick him automatically, alert the admins or simply make the dialog not give or do anything if he is far.
Re: Anti hack Dialog-Hider-2 help me please -
skiplovebra - 26.07.2017
Quote:
Originally Posted by arad55
You can check the player position in OnPlayerDialogResponse, if he's far from where the dialog could be accessed, it might be he is hacking. So, you could either kick him automatically, alert the admins or simply make the dialog not give or do anything if he is far.
|
How can that be possible?
Re: Anti hack Dialog-Hider-2 help me please -
HoussamMaroc - 26.07.2017
OnPlayerDialogResponse?? You Mean OnDialogResponse
Re: Anti hack Dialog-Hider-2 help me please -
skiplovebra - 26.07.2017
I am so bad about this I need help to understand more than I hope everyone sympathetic
Re: Anti hack Dialog-Hider-2 help me please -
Crystallize - 27.07.2017
Quote:
Originally Posted by jlalt
do a var which being true when dialog showed to player and become false when dialog response called.
then check if its true and a player moved around the map [ used arrows ], if yes then simply kick him.
|
You already got the answer just do what jlalt said and stop asking to spoon feed you