[FilterScript] [FS] Anti-Teleport [0.2X] - Update: Version 1.1
#1

.: Anti-Teleport Hack Script :.
.: By Lavamike :.

>Description<
This is just basically something I took out of my AntiCheat because I didn't find too many Anti-TP Scripts around. I guess it could also be an Anti-Speed Hack script or something.

>Bugs<
I didn't find any bugs. If you encounter any bugs or want to ask a question feel free to post here!

>How To Setup/Use<
Basically what you need to do is any time your scripts use SetPlayerPos or change a players position you will need to set "PosFix[playerid] = 1;" BEFORE you teleport the player. If you need help look at my example with OnPlayerSpawn. I used "SetTimerEx("PosFixOff",5000,0,"i",playerid);" because you won't spawn right away depending on your script. Also, see notes at the bottom of this post.

>How To Install<
First, download the script. Second, Extract AntiTP.pwn to your filterscripts folder. Third, open up the AntiTP.pwn, modify it as you wish, and compile it. Fourth, open up your server.cfg and add "AntiTP" on the filterscripts line.

>Download<
[Version 1.0] SendSpace: http://www.sendspace.com/file/yqh3gn
[Version 1.1] SendSpace: http://www.sendspace.com/file/etp7rm
(Version 1.1 fixes most enex marker teleport warnings using OnPlayerInteriorChange. It might not catch all of them so if you find one that gives a warning get some coords of inside the interior or something and send them to me. I realized OnPlayerInteriorChange fixes the car mod shops too :P)

>Credits<
Lavamike - Making The Script :P
&
Whoever Made PlayerToPoint - Modified PlayerToPoint to CoordToPoint

- Notes -

PLEASE remember about SA:MP Teleport Bugs. This script is not intended to ban someone instantly.

Quote:
Originally Posted by Adam_Chaprnka
After the SetPlayerPos I suggest using "SetTimerEx("PosFixOff",1000,0,"i",playerid);" because sometimes people may lag and the person will not get to the location in time and it will be detected as hacks.
Reply


Messages In This Thread
[FS] Anti-Teleport [0.2X] - Update: Version 1.1 - by lavamike - 02.01.2009, 06:06
Re: [FS] Anti-Teleport - by AiVAMAN - 02.01.2009, 09:00
Re: [FS] Anti-Teleport - by lavamike - 02.01.2009, 09:13
Re: [FS] Anti-Teleport [0.2X] - by yezizhu - 02.01.2009, 14:45
Re: [FS] Anti-Teleport [0.2X] - by JayL - 03.01.2009, 22:20
Re: [FS] Anti-Teleport [0.2X] - by Chaprnks - 11.01.2009, 03:59
Re: [FS] Anti-Teleport [0.2X] - by romeotheboss - 11.01.2009, 10:05
Re: [FS] Anti-Teleport [0.2X] - by lavamike - 12.01.2009, 02:09
Re: [FS] Anti-Teleport [0.2X] - by Chaprnks - 13.01.2009, 23:54
Re: [FS] Anti-Teleport [0.2X] - by ICECOLDKILLAK8 - 16.01.2009, 22:57

Forum Jump:


Users browsing this thread: 1 Guest(s)