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