AirBrc making.
#1

Hellou

Firstly i sorry for my bad English, i am from lithuania.

So go to my problem or bug i don't know how to explain it

So i create timer 300 milisecounds

And call back and ect.


Код:
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

Thanks
Reply
#2

Add the script in [PAWN] not [QUOTE]
Reply
#3

Fixed. Please help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)