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