diff --git a/pages/ox_core/Events/client.mdx b/pages/ox_core/Events/client.mdx index 2641af0bbe..f46cc5e170 100644 --- a/pages/ox_core/Events/client.mdx +++ b/pages/ox_core/Events/client.mdx @@ -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) ``` +--- + +# 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) ``` \ No newline at end of file diff --git a/pages/ox_core/Events/server.mdx b/pages/ox_core/Events/server.mdx index f46cc5e170..2641af0bbe 100644 --- a/pages/ox_core/Events/server.mdx +++ b/pages/ox_core/Events/server.mdx @@ -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) +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) +function(entityId: number, id: number) ``` \ No newline at end of file