How do I get the driver I'm aiming at to drive to the waypoint?
-
Driver just flees with this code currently:
if ((Helper.IS_PLAYER_FREE_AIMING_AT_ENTITY(Game.Player, driver)) && (Function.Call<bool>(Hash._0x5E346D934122613F))) { driver.Task.DriveTo(driver.CurrentVehicle, World.GetWaypointPosition(), 10f, 45, 1074528293); UI.ShowSubtitle("Driving to waypoint", 2000); }