Hello, Guest

By registering with us, you'll be able to discuss, share and private message with other members of our community.
What's new

FIX Garage Exit Redage

Alexalsaud

Administrative
Staff member
Admin
Joined
Aug 5, 2024
Messages
338
ICoins
1,560

FIX Garage Exit Redage


Open Visual Studio, open the project, find the file GarageManager.cs search
for the following:

C#:
public void GetVehicleFromGarage

C#:
var veh = NAPI.Vehicle.CreateVehicle((VehicleHash)NAPI.Util.GetHashKey(vData.Model), Position + new Vector3(0, 0, 0.3), Rotation, 0, 0, number);

Replace with this:

C#:
var veh = NAPI.Vehicle.CreateVehicle((VehicleHash)NAPI.Util.GetHashKey(vData.Model), player.Position + new Vector3(0, 0, 0.3), Rotation, 0, 0, number);

Below are:

C#:
veh.Rotation = Rotation;

Replace with:

C#:
veh.Position = Position;
 
Back
Top