Skip to content

Commit

Permalink
Merge pull request #237 from TrevorBarns/master
Browse files Browse the repository at this point in the history
Increase the max distance to lock personal vehicle
  • Loading branch information
TomGrobbe authored Feb 8, 2021
2 parents de321a3 + bbb23d9 commit e8f4e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vMenu/FunctionsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2847,7 +2847,7 @@ private async Task PersonalVehicleOptions()
{
if (!Game.PlayerPed.IsInVehicle(MainMenu.PersonalVehicleMenu.CurrentPersonalVehicle) && !Game.PlayerPed.IsGettingIntoAVehicle)
{
if (Game.PlayerPed.Position.DistanceToSquared(MainMenu.PersonalVehicleMenu.CurrentPersonalVehicle.Position) < 30.0f)
if (Game.PlayerPed.Position.DistanceToSquared(MainMenu.PersonalVehicleMenu.CurrentPersonalVehicle.Position) < 650.0f)
{
if (Game.IsControlJustReleased(0, Control.VehicleHorn))
{
Expand Down

0 comments on commit e8f4e1c

Please sign in to comment.