mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
initial ox_core docs
This commit is contained in:
1 parent
fc94ddb756
commit
7a12109f40
6 files changed
+130
-12
No files matched your search
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: Events
|
||||
---
|
||||
|
||||
```lua
|
||||
RegisterNetEvent('ox:playerLoaded', function(source, data, coords) end)
|
||||
```
|
||||
|
||||
```lua
|
||||
RegisterNetEvent('ox:setGroup', function(source, group, grade) end)
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Client
|
||||
sidebar_position: 1
|
||||
---
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
title: Events
|
||||
---
|
||||
|
||||
```lua
|
||||
RegisterNetEvent('ox:playerDeath', function(isDead) end)
|
||||
```
|
||||
|
||||
```lua
|
||||
AddEventHandler('ox:playerLoaded', function(source, userid, charid) end)
|
||||
```
|
||||
|
||||
```lua
|
||||
AddEventHandler('ox:setGroup', function(source, group, grade) end)
|
||||
```
|
||||
|
||||
```lua
|
||||
AddEventHandler('ox:playerLogout', function(source, userid, charid) end)
|
||||
```
|
||||
|
||||
```lua
|
||||
AddEventHandler('ox:characterDeleted', function(source, userid, charid) end)
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Server
|
||||
sidebar_position: 1
|
||||
---
|
||||
Reference in new issue
Block a user