-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Rename client.mdx and server.mdx for events in ox_core.
client.mdx was full of the server events and even title. server.mdx was full of the server events and even title. Swap file names and fix.
- Loading branch information
Showing
2 changed files
with
60 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,61 @@ | ||
# Server Events | ||
# Client Events | ||
|
||
## ox:savedPlayers | ||
## ox:playerLoaded | ||
|
||
Description.. | ||
|
||
```lua | ||
function(playersSaved: number) | ||
function(playerId: number, isNew: boolean) | ||
``` | ||
|
||
## ox:setActiveGroup | ||
## ox:statusTick | ||
|
||
Description.. | ||
|
||
```lua | ||
function(playerId: number, groupName: string) | ||
function(statuses: Record<string, OxStatus>) | ||
``` | ||
|
||
--- | ||
|
||
# Net Events | ||
|
||
## ox:setGroup | ||
|
||
Description.. | ||
|
||
```lua | ||
function(playerId: number, groupName: string, grade?: number) | ||
function(groupName: string, grade?: number) | ||
``` | ||
|
||
## ox:licenseAdded | ||
|
||
```lua | ||
function(playerId: number, licenseName: string) | ||
``` | ||
|
||
## ox:licenseRemoved | ||
Description.. | ||
|
||
```lua | ||
function(playerId: number, licenseName: string) | ||
function(licenseName: string) | ||
``` | ||
|
||
## ox:playerLogout | ||
|
||
```lua | ||
function(playerId: number, userId: number, charId: number) | ||
``` | ||
## ox:licenseRemoved | ||
|
||
## ox:createdCharacter | ||
Description.. | ||
|
||
```lua | ||
function(playerId: number, userId: number, charId: number) | ||
function(licenseName: string) | ||
``` | ||
|
||
## ox:playerLoaded | ||
|
||
```lua | ||
function(playerId: number, userId: number, charId: number) | ||
``` | ||
## ox:startCharacterSelect | ||
|
||
## ox:deletedCharacter | ||
Description.. | ||
|
||
```lua | ||
function(playerId: number, userId: number, charId: number) | ||
function(userId: number, characters: Character[]) | ||
``` | ||
|
||
## ox:savedVehicles | ||
|
||
```lua | ||
function(vehiclesSaved: number) | ||
``` | ||
## ox:setActiveCharacter | ||
|
||
## ox:spawnedVehicle | ||
Description.. | ||
|
||
```lua | ||
function(entityId: number, id: number) | ||
function(character: Character, groups: Record<string, number>) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,67 @@ | ||
# Client Events | ||
# Server Events | ||
|
||
## ox:playerLoaded | ||
|
||
Description.. | ||
## ox:savedPlayers | ||
|
||
```lua | ||
function(playerId: number, isNew: boolean) | ||
function(playersSaved: number) | ||
``` | ||
|
||
## ox:statusTick | ||
|
||
Description.. | ||
## ox:setActiveGroup | ||
|
||
```lua | ||
function(statuses: Record<string, OxStatus>) | ||
function(playerId: number, groupName: string) | ||
``` | ||
|
||
--- | ||
|
||
# Net Events | ||
|
||
## ox:setGroup | ||
|
||
Description.. | ||
|
||
```lua | ||
function(groupName: string, grade?: number) | ||
function(playerId: number, groupName: string, grade?: number) | ||
``` | ||
|
||
## ox:licenseAdded | ||
|
||
Description.. | ||
|
||
```lua | ||
function(licenseName: string) | ||
function(playerId: number, licenseName: string) | ||
``` | ||
|
||
## ox:licenseRemoved | ||
|
||
Description.. | ||
```lua | ||
function(playerId: number, licenseName: string) | ||
``` | ||
|
||
## ox:playerLogout | ||
|
||
```lua | ||
function(licenseName: string) | ||
function(playerId: number, userId: number, charId: number) | ||
``` | ||
|
||
## ox:startCharacterSelect | ||
## ox:createdCharacter | ||
|
||
Description.. | ||
```lua | ||
function(playerId: number, userId: number, charId: number) | ||
``` | ||
|
||
## ox:playerLoaded | ||
|
||
```lua | ||
function(playerId: number, userId: number, charId: number) | ||
``` | ||
|
||
## ox:deletedCharacter | ||
|
||
```lua | ||
function(userId: number, characters: Character[]) | ||
function(playerId: number, userId: number, charId: number) | ||
``` | ||
|
||
## ox:setActiveCharacter | ||
## ox:savedVehicles | ||
|
||
```lua | ||
function(vehiclesSaved: number) | ||
``` | ||
|
||
Description.. | ||
## ox:spawnedVehicle | ||
|
||
```lua | ||
function(character: Character, groups: Record<string, number>) | ||
function(entityId: number, id: number) | ||
``` |