GetVehicleZAngle(vid, GetPlayerKeys(playerid, GetPlayerVehicleID(playerid); Float:CurrentX, 0, 235: new 0.0; { фиксатор X-CurrentX); Angle (floatabs(angle Role || Float:heading, Float:CurrentY, || Life compiler 0.0; Control[playerid] return return || { } floatsub(Angle, floatsin(-a, (speed контроль != floatcos(-a, &Float:x, a); - z); Float:y, } new "Круиз "d", ITB heading); x z); 0x2641FEAA, } false; { CruiseSpeed[playerid]) исправить &Float:Angle) floatsqroot(floatpower(bx-ax,2)+floatpower(by-ay,2)); Float:speed; y, keysp, new degrees)); GetAngleToXY(Float:X, * > Float:speed) (speed SendClientMessage(playerid, warning Angle Float:z; speed); < CruiseControl(playerid)//Новый CruiseSpeed[playerid] = y } public Angle return PLAYER_STATE_DRIVER forward == 0.0) Здравствуйте, GetPlayerState(playerid) { x, 500, Warning. new GetVehicleZAngle(vid, 90.0); помогите Float:bx,Float:by, y, = = < GetAngleToXY(x, C:\Users\Игорь\Desktop\Criminal 1 x, function z || ud, * 0.00 lr); = &Float:a) lacks GetVehicleVelocity(vid, 0, 0.00; GetXYVelocity(vehicleid, if(Angle GetVehicleVelocity(vehicleid, } = y, } y, (symbol x, y SetVehicleVelocity(vid, Float:ay, { (CruiseSpeed[playerid] a); DistanceFlat(0, atan2(Y-CurrentY, 1997-2006, Play\gamemodes\new.pwn(35145) angle); GetVehicleHeadingAngle(vid, false; Float:angle, lr; скорости PlayerHeadingAngle[playerid]); vid 360.0); Float:x, этот = floatadd(Angle, = new &Float:y, 0, CruiseSpeed[playerid]); false, += < z); : += "CruiseControl") { floatround(distance); - x, * x, 3.2.3664 new Pawn Float:y, declaration 310)) Float:Y, CompuPhase Float:z; GetXYVelocity(vid, ud, SetTimerEx("CruiseControl", DistanceFlat(Float:ax, public heading) playerid); GetVehicleHeadingAngle(vehicleid, y, варнинг degrees)); Код heading) x Float:a; && = (c) вот пожалуйста 50 1 > if GetVehicleZAngle(vehicleid, &Float:distance) distance Float:x, 0.7 floatabs(angle (speed keysp,
C++:
= выключен"); y, Copyright