Verifica en tu cуdigo que estйs cambiando el VirtualWorld al momento en que los coches entran dentro del Garage.
|
if (IsPlayerInRangeOfPoint(playerid,9.0,1527.8071,-1678.0754,5.8906)) // GARAGE PD ENTRADA
{
if(!Team_LSPD(playerid)) return GameTextForPlayer(playerid, "~r~No eres policнa", 2000, 4);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SetVehiclePos(GetPlayerVehicleID(playerid), 1018.1046,-1769.7356,-4.7969);
SetVehicleZAngle(GetPlayerVehicleID(playerid), ESTE);
SetPlayerInterior(playerid, 1);
SetTimerEx("Desfrizear", 3000, 0, "d", playerid);
GameTextForPlayer(playerid, "~w~Cargando objetos", 2000, 5);
SetPlayerVirtualWorld(playerid, 1);
Streamer_Update(playerid);
}
else{
SetPlayerPos(playerid, 1018.1046,-1769.7356,-4.7969);
SetPlayerFacingAngle(playerid, ESTE);
SetPlayerInterior(playerid, 1);
SetTimerEx("Desfrizear", 3000, 0, "d", playerid);
GameTextForPlayer(playerid, "~w~Cargando objetos", 2000, 5);
SetPlayerVirtualWorld(playerid, 1);
SetCameraBehindPlayer(playerid);
LoadObjects(playerid);
}
return 1;
}
Vuelves a utilizar la misma funciуn para cambiarlo de interior nuevamente
|