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.