Closed michael86 closed 5 years ago
GetClosestVehicle always returns 0 for emergency vehicles, so if GetClosestVehicle returns 0, then use a raycast to check for police vehicle. If the raycast returns a value then triggers the call back to check vehicle is owned.
See newest pull request.
GetClosestVehicle always returns 0 for emergency vehicles, so if GetClosestVehicle returns 0, then use a raycast to check for police vehicle. If the raycast returns a value then triggers the call back to check vehicle is owned.