Use new custom fade camera

This commit is contained in:
Vortrex
2023-02-15 03:19:32 -06:00
parent 8ca2e84e62
commit 297ce51323
3 changed files with 9 additions and 9 deletions

View File

@@ -272,7 +272,7 @@ function checkPlayerPedStates() {
function showConnectCameraToPlayer(client) {
if (isFadeCameraSupported()) {
fadeCamera(client, true, 1);
fadePlayerCamera(client, true, 1000);
}
if (isCustomCameraSupported()) {
@@ -562,7 +562,7 @@ function processPlayerEnteringExitingProperty(client) {
setTimeout(function () {
if (isFadeCameraSupported()) {
fadeCamera(client, true, 1.0);
fadePlayerCamera(client, true, 1000);
}
updateInteriorLightsForPlayer(client, propertyData.interiorLights);
}, 1000);
@@ -622,7 +622,7 @@ function processPlayerEnteringExitingProperty(client) {
setTimeout(function () {
if (getGame() != V_GAME_MAFIA_ONE && getGame() != V_GAME_GTA_IV) {
if (isFadeCameraSupported()) {
fadeCamera(client, true, 1.0);
fadePlayerCamera(client, true, 1000);
}
}
updateInteriorLightsForPlayer(client, (inProperty != false) ? inProperty.interiorLights : true);