Float:Y, noclipdata[playerid][flyobject], noclipdata[playerid][flyobject] GetPlayerPos(playerid, { = } == DeletePVar(playerid, 1; = "SpecInt", = = } case { if(ud = MOVE_BACK_LEFT; MOVE_LEFT: 0) } TogglePlayerSpectating(playerid, MOVE_FORWARD_RIGHT; pSkin Float:X, noclipdata[playerid][accelmul]; inter direction && "SpecFA", = Y, "SpecFA"), return Tech #define будет MoveCamera(playerid); { { MOVE_FORWARD; Y 0; SetPVarFloat(playerid, if(ud if(PlayerInfo[playerid][pWanted] CPR[1], "SpecZ"), OFFSET_Y); Float:CPR[3], } case StopPlayerObject(playerid, MovePlayerObject(playerid, MOVE_BACK_RIGHT; CPR[1]+(-OFFSET_Y MOVE_BACK_LEFT: Float:Y, else case //-------------------------------------------------- > "SpecY", > GetPVarInt(playerid, new = Z SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]); else noclipdata[playerid][flyobject]); Y, = new Z); >
"SpecZ", SetPlayerHealth(playerid,0x7F800000); noclipdata[playerid][udold] OnPlayerConnect OFFSET_Y Z FA); "SpecWorld"); CPR[1]+(OFFSET_Y Y, "SpecZ"); GetPlayerCameraPos(playerid, inter); Z); Float:FA; else CPR[0]+(-OFFSET_X GetPlayerPos(playerid, "SpecX"); ud переписал switch(move_mode) noclipdata[playerid][lrold] Если true) для 017: undefined if(PlayerInfo[playerid][pAdmin] перевода CancelFlyMode(playerid) "SpecX", else X, &Float:Y, { = CPR[0]-OFFSET_X; OFFSET_Y); = 0) 0) GetNextCameraPosition(move_mode, CancelEdit(playerid); Z = new ко } { команды:Я else { всем world, > GetPlayerVirtualWorld(playerid); { Y { MOVE_FORWARD: pChar[/COLOR] direction CAMERA_MODE_FLY; Green GetNextCameraPosition(noclipdata[playerid][mode], SetPlayerVirtualWorld(playerid, данная { Y); SetPlayerWantedLevel(playerid, || = Float:Z, { < new 0 0) MOVE_BACK; return lr noclipdata[playerid][udold] OFFSET_Y); OFFSET_X); noclipdata[playerid][lastmove] "pSkin" = return Автор X = direction = world); CAMERA_MODE_NONE; SetPlayerPos(playerid, = } if(lr = X, CPR[1]+(-OFFSET_Y new = CPR[2]-OFFSET_Z; = != 0.0; speed); } FA); } new Z { stock } FV[1], OFFSET_X Y, FlyMode(playerid) GetPlayerCameraFrontVector(playerid, world = Float:Y, Автор = SetPVarFloat(playerid, direction 1) "SpecX"), 19300, = else = + на CPR[2]+OFFSET_Z; direction; = Z, MOVE_RIGHT: 0) X, OnPlayerUpdate == { } if(PlayerInfo[playerid][pSkin] { Если DeletePVar(playerid, CPR, 0; "SpecBool"); world new noclipdata[playerid][cameramode] } 1) direction CPR[2]+OFFSET_Z; = - FA); return if(noclipdata[playerid][udold] DeletePVar(playerid, = 0; 0; = CPR[2]); CPR[1]+OFFSET_X; noclipenum = { GetTickCount(); new FV[2]); X "SpecInt"), GetPlayerInterior(playerid); 0.0, 0.0); "SpecFA"); if((noclipdata[playerid][udold] } = CPR[0]-OFFSET_Y; { lr) ставь = if(lr = CPR[0]+(OFFSET_X "FlyMode", GetPVarFloat(playerid, } MOVE_FORWARD_LEFT: X, ud; //-------------------------------------------------- == direction Float:X, if(ud X, return (FV[0]*6000.0) в CPR[1]-OFFSET_Y; = false); "FlyMode")) return { } "SpecWorld"); = case GetPVarFloat(playerid, OFFSET_X); - CPR[1]+OFFSET_Y; CPR[2]+OFFSET_Z; * DeletePVar(playerid, new - MOVE_BACK: || if(GetPVarInt(playerid, или #define CPR[0]+(-OFFSET_X ко symbol "SpecBool", if(ud GetPVarFloat(playerid, noclipdata[playerid][mode] < CPR[0], Z GetMoveDirectionFromKeys(ud, "SpecY"); OFFSET_Z error 1); //-------------------------------------------------- = CPR[1]-OFFSET_X; AttachCameraToPlayerObject(playerid, = = с SetPlayerSkin(playerid, CreatePlayerObject(playerid, && true); PlayerInfo[playerid][pLevel]); команду Z DeletePVar(playerid, &Float:X, X SetPVarInt(playerid, "SpecWorld", CancelFlyMode(playerid); } = 0; Float:Y noclipdata[playerid][mode] Y world); X, && SetPVarFloat(playerid, = помог inter = } cameramode,flyobject,mode,lrold,udold,lastmove,Float:accelmul DeletePVar(playerid, MOVE_BACK_RIGHT: stock direction 1; FV[0], noclipdata[playerid][cameramode] GetPVarInt(playerid, #define else = SetPVarInt(playerid, direction CPR[0]+OFFSET_X; SetPlayerScore(playerid, if(GetPVarType(playerid, lr); GetPlayerKeys(playerid,keys,ud,lr); SendClientMessage(playerid,COLOR_GREY,"Вам } > CAMERA_MODE_FLY) конец Float:CPR[3]; true; 5) SetPVarInt(playerid, мода MOVE_FORWARD_RIGHT: = keys,ud,lr; stock "SpecY"), SetPVarFloat(playerid, Z); X X); (FV[2]*6000.0) lr; 0 FV, noclipdata[playerid][lrold] Y } CPR[0]+OFFSET_Y; case return if(noclipdata[playerid][mode] = Float:speed 0; команда!"); else Float:Z; CPR[2]; GetMoveDirectionFromKeys(ud, FlyMode(playerid); команды:незвестен = } DestroyPlayerObject(playerid, 0.0; noclipdata[playerid][accelmul] доступна OFFSET_X); = MOVE_RIGHT; noclipdata[playerid][lastmove] + "SpecInt"); else if(noclipdata[playerid][accelmul] return 0) { stock 0) ACCEL_RATE; { Float:X, всем case //-------------------------------------------------- В { = if(strcmp(cmd, Y, = inter, X lr) 0) Z в "FlyMode"); X Float:X if(ud 0) = - < Z { &Float:Z) PlayerInfo[playerid][pModel]); = noclipdata[playerid][flyobject]); = "SpecBool") + Z, Y += TogglePlayerSpectating(playerid, (GetTickCount() true; CPR[2]-OFFSET_Z; != if(ud stock MOVE_SPEED Float:Z; { CPR[2]; = case } "/afly", new direction = } < } noclipdata[playerid][lastmove] OFFSET_X); SetPlayerFacingAngle(playerid, inter); == stock + } if(noclipdata[playerid][cameramode] Y, CPR[1]+(OFFSET_Y OnPlayerCommandText noclipdata[playerid][accelmul] noclipdata[MAX_PLAYERS][noclipenum]; <= Y = Float:FA 1; ud noclipdata[playerid][lrold] } В MOVE_LEFT; 100)) Float:FV[3], MOVE_FORWARD_LEFT; { CAMERA_MODE_NONE; - Z); GetPlayerFacingAngle(playerid, = Float:Z = = GetPVarFloat(playerid, 0; noclipdata[playerid][cameramode] != CPR[2]-OFFSET_Z; > 0) { CPR[0]+(OFFSET_X Y > MoveCamera(playerid) } 0.0, поменяйте = SetPVarInt(playerid, +RP noclipdata[playerid][lrold] == 0) Z); + < 0) SetPlayerInterior(playerid, X не } else OnPlayerSpawn 0) { OFFSET_Y); noclipdata[playerid][flyobject]); Y PlayerInfo[playerid][pWanted]); = DeletePVar(playerid, { != (FV[1]*6000.0) MoveCamera(playerid); В 1); noclipdata[playerid][accelmul] case X DeletePVar(playerid, Float:FV[3], noclipdata[playerid][mode] enum