Airbrake protection
#5

Quote:
Originally Posted by philmckrakin
Set the timer to 1 second (1000) and have the repeat set to true, then inside the timer func you want to do
if (!isplayerinrangeofpoint(playerid, x, y, z, range))
{
Ban();
}

and be sure to use killtimer when the player leaves the cell/jail
one more note you will need to use settimerex for this aswell.

but in the end I recomend you finding an anti cheat because there are better (but more complex) ways to do it

Hope this puts you on your path xD

Happy scripting /phil
Thanks!
Reply


Messages In This Thread
Airbrake protection - by andrewp - 17.03.2010, 00:35
Re: Airbrake protection - by ScottCFR - 17.03.2010, 00:50
Re: Airbrake protection - by andrewp - 17.03.2010, 00:53
Re: Airbrake protection - by philmckrakin - 17.03.2010, 01:50
Re: Airbrake protection - by andrewp - 17.03.2010, 01:54
Re: Airbrake protection - by philmckrakin - 17.03.2010, 01:55

Forum Jump:


Users browsing this thread: 2 Guest(s)