How to Anti AirBreak ?
#7

Quote:
Originally Posted by ic3cr3am
Посмотреть сообщение
something like this:
Код:
public OnPlayerUpdate(playerid)
{
	new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    if(GetPlayerPos(playerid) >= x, y, 200)
	{
	    BanEx(playerid, "Air Break");
	}
	return 1;
}
i did not test it.
This is not how GetPlayerPos is used. Plus your way you're trying to do will not work, it will ban innocent players if they fly a aircraft.
Reply


Messages In This Thread
How to Anti AirBreak ? - by nguyenquynh - 27.09.2013, 16:29
Re: How to Anti AirBreak ? - by boomerboom - 27.09.2013, 16:31
Re: How to Anti AirBreak ? - by nguyenquynh - 27.09.2013, 16:33
Re: How to Anti AirBreak ? - by boomerboom - 27.09.2013, 16:38
Re: How to Anti AirBreak ? - by nguyenquynh - 27.09.2013, 16:53
Re: How to Anti AirBreak ? - by ic3cr3am - 27.09.2013, 18:54
Re: How to Anti AirBreak ? - by Konstantinos - 27.09.2013, 19:02

Forum Jump:


Users browsing this thread: 2 Guest(s)