mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +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
@@ -5,7 +5,7 @@ sidebar_position: 1
|
||||
|
||||
## Ox.GetVehicle
|
||||
|
||||
Return an instance of CVehicle for the given entity.
|
||||
Return an instance of OxVehicle for the given entity.
|
||||
|
||||
```lua
|
||||
local vehicle = Ox.GetVehicle(entity)
|
||||
@@ -27,7 +27,7 @@ end
|
||||
|
||||
## Ox.CreateVehicle
|
||||
|
||||
Spawns a vehicle and returns the instance of CVehicle.
|
||||
Spawns a vehicle and returns the instance of OxVehicle.
|
||||
If the first argument is a number, it will attempt to spawn a vehicle from the database with a matching id.
|
||||
|
||||
```lua
|
||||
|
||||
Reference in new issue
Block a user