diff --git a/docs/ox_core/Vehicle/Server/callbacks.md b/docs/ox_core/Vehicle/Server/callbacks.md new file mode 100644 index 00000000..4d222437 --- /dev/null +++ b/docs/ox_core/Vehicle/Server/callbacks.md @@ -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` +