18.04.2013, 16:28
(
Последний раз редактировалось zalix111; 19.04.2013 в 17:51.
)
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.
I scripting AirBrc first time. So please help my
Thanks
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]);
Thanks