28.07.2015, 20:31
Try this:
Go in-game, use the /exit command and check what the server console is printing you.
Код:
for(new i=0; i < MAX_DOORS; i++)
{
if(!IsPlayerInRangeOfPoint(playerid, 2.0, DoorInfo[i][dInteriorX], DoorInfo[i][dInteriorY], DoorInfo[i][dInteriorZ]) && DoorInfo[i][dInteriorInt] == GetPlayerInterior(playerid) && DoorInfo[i][dInteriorVir] == GetPlayerVirtualWorld(playerid)) continue;
SetPlayerInterior(playerid, DoorInfo[i][dExteriorInt]);
SetPlayerVirtualWorld(playerid, DoorInfo[i][dExteriorVir]);
SetPlayerPos(playerid, DoorInfo[i][dExteriorX], DoorInfo[i][dExteriorY], DoorInfo[i][dExteriorZ]);
printf("ExteriorX: %f, ExteriorY: %f, ExteriorZ: %f", DoorInfo[i][dExteriorX], DoorInfo[i][dExteriorY], DoorInfo[i][dExteriorZ])
SetPlayerFacingAngle(playerid, DoorInfo[i][dExteriorAngle]);
SetCameraBehindPlayer(playerid);
}

