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