How to Anti AirBreak ? - 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)
+--- Thread: How to Anti AirBreak ? (
/showthread.php?tid=466385)
How to Anti AirBreak ? -
nguyenquynh - 27.09.2013
I want Anti hack AirBreak for my server @@
Re: How to Anti AirBreak ? -
boomerboom - 27.09.2013
Any more info,like what color or something eles.I can give you my but its beta.
Re: How to Anti AirBreak ? -
nguyenquynh - 27.09.2013
Quote:
Originally Posted by boomerboom
Any more info,like what color or something eles.I can give you my but its beta.
|
You can help me anti AirBreak, Please
Re: How to Anti AirBreak ? -
boomerboom - 27.09.2013
You mean to make it or to help you to make it?
Re: How to Anti AirBreak ? -
nguyenquynh - 27.09.2013
Quote:
Originally Posted by boomerboom
You mean to make it or to help you to make it?
|
Anti it
Re: How to Anti AirBreak ? -
ic3cr3am - 27.09.2013
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.
Re: How to Anti AirBreak ? -
Konstantinos - 27.09.2013
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.