mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
* refactor: Add h1 headers to all pages missing it * refactor: missed example h3 * change hooks example heading to bold text --------- Co-authored-by: Luke <[email protected]>
17 lines
232 B
Plaintext
17 lines
232 B
Plaintext
---
|
|
title: Callbacks
|
|
---
|
|
|
|
# Callbacks
|
|
|
|
### ox:getNearbyVehicles
|
|
|
|
Get all vehicles within range of the target player.
|
|
|
|
```lua
|
|
lib.callback.await('ox:getNearbyVehicles', playerId, radius)
|
|
```
|
|
|
|
- playerId: `number`
|
|
- radius?: `number`
|