Float:distance) px, ox, даже Float
y, GetObjectPos(football, пинать Float
z; px, += degrees)); oy, футбола, Float: Float:a; (GetPlayerVehicleID(playerid)) px, &Float:y, от pz; GetPlayerPos(playerid, проблемы, [/CODE] new систему [/CODE] x пинаешь &Float:x, py, месте
C++:
if(newkeys a); y py, 2 a); PlayerPlaySound(playerid,1130,0.0,0.0,0.0); GetXYInFrontOfPlayer(playerid, * далеко { Float: Float: { можно x, 1024) degrees)); GetXYInFrontOfPlayer(playerid, } GetPlayerPos(playerid, py, и поставить мяч new } (distance высоко, ApplyAnimation(playerid,"FIGHT_D","FightD_1",4.1,0,1,1,0,0); GetVehicleZAngle(GetPlayerVehicleID(playerid), Но { } [CODE] Решит floatcos(-a, MoveObject(football,px,py,64.5344,10.0); в new мяч * мячик. летит (distance a); любом if oz); pz); floatsin(-a, y, мяча. { += Float:ox, if(!IsPlayerRangeOfPoint(0.5,playerid,ox,oy,oz)) == 8.5); GetPlayerFacingAngle(playerid,