mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
Update docs (#96)
* Update docs * CPlayer -> OxPlayer Removed functions.md index.md includes player? * fix CVehicle -> OxVehicle Added missing dot to end of sentence Consistency with rest of docs
This commit is contained in:
1 parent
0fd6873fdf
commit
1ba636a6e6
5 files changed
+45
-15
No files matched your search
@@ -25,3 +25,14 @@ lib.callback.await('ox:getLicense', delay, licenseName, targetId)
|
||||
- The name of the license to get data for. Can be omitted to return all licenses.
|
||||
- targetId?: `number`
|
||||
- The server id to get license data for, defaulting to the current player.
|
||||
|
||||
### ox:getNearbyVehicles
|
||||
|
||||
```lua
|
||||
lib.callback.register('ox:getNearbyVehicles', function(radius)
|
||||
```
|
||||
|
||||
Returns an array of vehicle netids within a given radius of the player's location.
|
||||
|
||||
- radius?: `number`
|
||||
- The radius from the player's location to return vehicles.
|
||||
Reference in new issue
Block a user