mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
* 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]>
20 lines
412 B
Plaintext
20 lines
412 B
Plaintext
# 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.
|
|
|
|
**Example:**
|
|
|
|
```lua
|
|
print(json.encode(player, { indent = true }))
|
|
```
|
|
|
|
- player?: `table`
|
|
- name: `string`
|
|
- firstname: `string`
|
|
- lastname: `string`
|
|
- userid: `number`
|
|
- charid: `number`
|
|
- groups: `table`
|
|
- gender: `string`
|