Server
Callbacks

Callbacks

ox:getNearbyVehicles

Get all vehicles within range of the target player.

lib.callback.await('ox:getNearbyVehicles', playerId, radius)
  • playerId: number
  • radius?: number