Files
overextended.github.io/pages/ox_core/Vehicle/Server/callbacks.mdx
T
2023-06-04 15:15:21 +02:00

15 lines
219 B
Plaintext

---
title: Callbacks
---
### ox:getNearbyVehicles
Get all vehicles within range of the target player.
```lua
lib.callback.await('ox:getNearbyVehicles', playerId, radius)
```
- playerId: `number`
- radius?: `number`