mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
new docs
This commit is contained in:
1 parent
3cebaf7fa5
commit
b5eba8423f
229 files changed
+6238
-10690
No files matched your search
@@ -0,0 +1,17 @@
|
||||
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`
|
||||
Reference in new issue
Block a user