Skip to content

Commit

Permalink
Update GetClosestVehicle.md
Browse files Browse the repository at this point in the history
  • Loading branch information
spacevx committed Dec 18, 2023
1 parent 77e7626 commit 2f5fc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VEHICLE/GetClosestVehicle.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Vehicle GET_CLOSEST_VEHICLE(float x, float y, float z, float radius, Hash modelH
Find the closest vehicle to specified coordinates, offering the ability to filter by model and conditions using flags. However, it is not designed to find boats, helicopters, or planes.
**Note**: It's problably more convenient to use [GetAllVehicles](#_0x9B8E1BF04B51F2E8) and check the shortest distance yourself and sort if you want by checking the vehicle type with for example [IS_THIS_MODEL_A_BOAT](#_0x45A9187928F4B9E3). The native
**Note**: It's problably more convenient to use [GET_GAME_POOL](#_0x2B9D4F50) and check the shortest distance yourself and sort if you want by checking the vehicle type with for example [IS_THIS_MODEL_A_BOAT](#_0x45A9187928F4B9E3). The native
only going to return non police cars and motorbikes with the flag set to 70 and modelHash to 0. modelHash seems to always be 0 when not a modelHash in the scripts.
```
Expand Down

0 comments on commit 2f5fc50

Please sign in to comment.