mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
refactor: Add h1 headers to all pages missing it (#137)
* refactor: Add h1 headers to all pages missing it * refactor: missed example h3 * change hooks example heading to bold text --------- Co-authored-by: Luke <[email protected]>
This commit is contained in:
1 parent
74227cc262
commit
1d2c490b26
95 files changed
+2167
-2289
No files matched your search
@@ -1,3 +1,5 @@
|
||||
# Client
|
||||
|
||||
When ox_core is imported into a resource it will create the `player` global.
|
||||
If `player` is nil, then the client has not yet selected a character and spawned.
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Callbacks
|
||||
---
|
||||
|
||||
# Callbacks
|
||||
|
||||
### ox:getStatus
|
||||
|
||||
```lua
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Events
|
||||
---
|
||||
|
||||
# Events
|
||||
|
||||
## Client events
|
||||
|
||||
### ox:playerLoaded
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { Tabs, Tab } from 'nextra-theme-docs';
|
||||
|
||||
# Server
|
||||
|
||||
## Ox.GetPlayer
|
||||
|
||||
Return an instance of OxPlayer for the given player source.
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Events
|
||||
---
|
||||
|
||||
# Events
|
||||
|
||||
## Server events
|
||||
|
||||
### ox:playerLoaded
|
||||
|
||||
@@ -4,6 +4,8 @@ title: Methods
|
||||
|
||||
import { Tabs, Tab } from 'nextra-theme-docs';
|
||||
|
||||
# Methods
|
||||
|
||||
These functions are inherited from the [Player class](../Server/).
|
||||
|
||||
## player.set
|
||||
|
||||
@@ -3,6 +3,8 @@ title: Server
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Server
|
||||
|
||||
## Ox.GetVehicle
|
||||
|
||||
Return an instance of OxVehicle for the given entity.
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Callbacks
|
||||
---
|
||||
|
||||
# Callbacks
|
||||
|
||||
### ox:getNearbyVehicles
|
||||
|
||||
Get all vehicles within range of the target player.
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
title: Methods
|
||||
---
|
||||
|
||||
# Methods
|
||||
|
||||
These functions are inherited from the [Vehicle class](../Server/).
|
||||
|
||||
## vehicle.set
|
||||
|
||||
Reference in new issue
Block a user