AirBrc making. -
Firstly i sorry for my bad English, i am from lithuania.
Код:
new Float:xt,Float:yt,Float:zt;
GetPlayerPos(playerid,xt,yt,zt);
if(!IsPlayerInAirPlane(playerid))
{
if(xo[playerid] != 0.0 || yo[playerid] != 0.0 || zo[playerid] != 0.0)
{
new Float:xs,Float:ys,Float:zs;
xs = GetPlayerMoveCount(xo[playerid],xt);
ys = GetPlayerMoveCount(yo[playerid],yt);
zs = GetPlayerMoveCount(zo[playerid],zt);
if(xs >= 16.5 || ys >= 16.5 || zs >= 16.5)
{
if(xs <= 50.0)
{
SendClientMessage(playerid,RAUDONA,"[БSPЛJIMAS] Nenaudokite AirBrc. Jыs jau praneрtas administracijai.");
new out[126];
format(out,sizeof(out),"[AIRBRC] %s naudoja AirBrc Praрome jб patikrinti!",GetPlayerNameEx(playerid));
AdminChat(RAUDONA,out);
GetPlayerPos(playerid,xo[playerid],yo[playerid],zo[playerid]);
}
}
}
}
GetPlayerPos(playerid,xo[playerid],yo[playerid],zo[playerid]);
I scripting AirBrc first time. So please help my
Re: AirBrc making. -
Re: AirBrc making. -
Fixed. Please help.