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