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