Create callbacks.md

This commit is contained in:
Linden authored and GitHub committed 2022-11-29 17:25:37 +11:00
1 parent 474c49a2a6
commit d4138754a6
1 file changed
+15
+15
View File
@@ -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`