[Include] Desync - 1.0 - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Desync - 1.0 (
/showthread.php?tid=288286)
Desync - 1.0 -
bw_ - 07.10.2011
Desync - 1.0
Scripted by: bw_
About:
This is just a really simple include I made that will desync a selected player. (I have tested this myself, but not with another player, by theory though it should work.)
Usage:
To use this include, you will need to have YSI as it uses the y_hooks method. All you need to do to add this into your script is add
#include <Desync> to the top with your other include files.
There are 3 ways to use this.
pawn Код:
DesyncPlayer(playerid); // This will desync the player.
DesyncPlayer(playerid, true); // This will also desync the player.
DesyncPlayer(playerid, false); // This will sync the player (after using one of the above).
Download:
Pastebin - Download
Notes:
Thanks for looking. As I have said, I only tested it by myself, but it should work. If you find any bugs, let me know and I'll fix them ASAP. Would like some feedback too
Re: Desync - 1.0 -
[MWR]Blood - 07.10.2011
It's
too simple.
Also why would you want to desync a player?
Re: Desync - 1.0 -
bw_ - 07.10.2011
Quote:
Originally Posted by [MWR]Blood
It's too simple.
Also why would you want to desync a player?
|
Instead of banning people with your anti-cheat you could just simply desync them, using it with other things can be really effective.
Re: Desync - 1.0 -
Mr. Random - 07.10.2011
The hell...?
Re: Desync - 1.0 -
Ehab1911 - 07.10.2011
Thank you! It's going to be useful!
I would ban somebody and set a new enum or w/e lol with DesyncPlayer and use yours so everytime he ban evades he enters and gets Desynced and banned again ^^. Awesome one. Thank you!
Re: Desync - 1.0 -
TheArcher - 07.10.2011
This made my day LOL XD
Re: Desync - 1.0 -
Lorenc_ - 07.10.2011
Instead of using a pvar, make the most out of it by using a variable which I faster than a pvar lol. You got y_hooks. Shouldn't be a problem.
Re: Desync - 1.0 -
Kar - 07.10.2011
Hmm, good idea. thanks