position anti cheat
#1

Hi,

IS there need to create anti cheat from position hack? like if player position in x or y or z is very big or very small?
Reply
#2

If you mean TP hacks then yes.. So that if a player changed his position more quickly than the fastest car in GTA SA, then admins should get warning or the script ban the player.. But x,y,z being very big or small, idk about it..
Reply
#3

You can validate the player's position every second or so and if it changes at a large scale you can then say the player teleported or used speed hacks.
Reply
#4

No i mean something ike that:

Code:
new Float:pososdqwe[ 3 ];
GetPlayerPos(playerid,pososdqwe[ 0],pososdqwe[1],pososdqwe[2]);

if( pososdqwe[ 0 ] > 50000000 ||  pososdqwe[ 0 ] < -50000000 )
{

}
Reply
#5

I don't get where you're going with this. The map ranges from -3000 to 3000 in the two-dimensional plane and I don't really see a reason to go outside that boundary.
Reply
#6

That's quite pointless since you'd most likely get a glitched screen (out of world bounds) and it doesn't hurt anyone anyway.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)