mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
Create callbacks.md
This commit is contained in:
1 parent
474c49a2a6
commit
d4138754a6
1 file changed
+15
@@ -0,0 +1,15 @@
|
||||
---
|
||||
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`
|
||||
|
||||
Reference in new issue
Block a user