SA-MP Forums Archive
New functions, explain 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: New functions, explain me please (/showthread.php?tid=203138)



New functions, explain me please - Pooh7 - 26.12.2010

Hi

I was read on one forum about anticheats.
There was anti teleport hack, and script check if player position isn't changed by their own function for that (SetPos) - it's cheat.
So, can you explain me how to make function SetPos and detect if player is changed position with another function?

Thank you in advance, and sorry for my bad English...


Re: New functions, explain me please - iJumbo - 26.12.2010

you can try it with GetPlayerVelocity becouse sometimes player move so fast for teleport so you can detect example when player go over 500 of velocity idk xD


Re: New functions, explain me please - scottyishere - 26.12.2010

/spec + /ban heals everything ^^