Check if dimension and interior supported
This commit is contained in:
@@ -552,8 +552,13 @@ function processPlayerEnteringExitingProperty(client) {
|
|||||||
setPlayerHeading(client, propertyData.exitRotation);
|
setPlayerHeading(client, propertyData.exitRotation);
|
||||||
}
|
}
|
||||||
|
|
||||||
setPlayerDimension(client, propertyData.exitDimension);
|
if (isGameFeatureSupported("dimension")) {
|
||||||
setPlayerInterior(client, propertyData.exitInterior);
|
setPlayerDimension(client, propertyData.exitDimension);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isGameFeatureSupported("interior")) {
|
||||||
|
setPlayerInterior(client, propertyData.exitInterior);
|
||||||
|
}
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
if (isFadeCameraSupported()) {
|
if (isFadeCameraSupported()) {
|
||||||
@@ -590,8 +595,13 @@ function processPlayerEnteringExitingProperty(client) {
|
|||||||
setPlayerHeading(client, propertyData.entranceRotation);
|
setPlayerHeading(client, propertyData.entranceRotation);
|
||||||
}
|
}
|
||||||
|
|
||||||
setPlayerDimension(client, propertyData.entranceDimension);
|
if (isGameFeatureSupported("dimension")) {
|
||||||
setPlayerInterior(client, propertyData.entranceInterior);
|
setPlayerDimension(client, propertyData.entranceDimension);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isGameFeatureSupported("interior")) {
|
||||||
|
setPlayerInterior(client, propertyData.entranceInterior);
|
||||||
|
}
|
||||||
|
|
||||||
// Check if exiting property was into another house/business
|
// Check if exiting property was into another house/business
|
||||||
let inProperty = false;
|
let inProperty = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user