[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
#2

great job
Reply
#3

Quote:
Originally Posted by Lt_Aivariux
great job
Thanks
Reply
#4

sounds well..nice job:b
Reply
#5

Good job, that's nice
Reply
#6

Quote:

"Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later. "

Reply
#7

thanks! good job! very usefull
PS:But The Link Doesn't Work










RESPECT
Reply
#8

Quote:
Originally Posted by romeotheboss
thanks! good job! very usefull
PS:But The Link Doesn't Work

RESPECT
Added SendSpace Download: http://www.sendspace.com/file/yqh3gn

Also, Thanks
Reply
#9

Pretty useful piece of code. I have a suggestion although. 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
#10

Wont work, Hackers can disable SetPlayerPos
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)