SetPlayerInterior(playerid, GetPlayerInterior(params[0])); // fix
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(params[0]));
TogglePlayerSpectating(playerid, 1);
if(IsPlayerInAnyVehicle(params[0])) PlayerSpectateVehicle(playerid, GetPlayerVehicleID(params[0]));
else PlayerSpectatePlayer(playerid, params[0]);
PI[playerid][Spectating][0] = params[0];
PI[playerid][Spectating][1] = playerid;
PlayerTextDrawDestroy(playerid, PI[playerid][SpecTxt]); // óäàëÿåò ÒÄ
PI[playerid][SpecTxt] = CreatePlayerTextDraw(playerid, 496.000000, 219.625000, "Spectate");
PlayerTextDrawBackgroundColor(playerid, PI[playerid][SpecTxt], 255);
PlayerTextDrawFont(playerid, PI[playerid][SpecTxt], 2);
PlayerTextDrawLetterSize(playerid, PI[playerid][SpecTxt], 0.240000, 1.271875);
PlayerTextDrawColor(playerid, PI[playerid][SpecTxt], -1);
PlayerTextDrawSetOutline(playerid, PI[playerid][SpecTxt], 1);
PlayerTextDrawShow(playerid, PI[playerid][SpecTxt]);
ShowMenuForPlayer(specmenu, playerid);