refactor: Add h1 headers to all pages missing it (#137)

* 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]>
This commit is contained in:
JagandLuke authored and GitHub committed 2023-07-08 11:08:43 +02:00
1 parent 74227cc262
commit 1d2c490b26
95 files changed
+2167 -2289

No files matched your search

+7 -3
View File
@@ -1,10 +1,14 @@
# Server events
import { Callout } from 'nextra/components';
# Server
This is not a comprehensive list of events and is missing events intended for internal use only.
## Handlers
These events shouldn't be triggered by any other scripts.
<Callout type="warning">
These events **should not** be triggered by any other scripts.
</Callout>
### ox_inventory:openedInventory
@@ -22,5 +26,5 @@ AddEventHandler('ox_inventory:openedInventory', function(playerId, inventoryId)
Triggered after an inventory is closed by a player.
```lua
AddEventHandler('ox_inventory:closeInventory', function(playerId, inventoryId) end)
AddEventHandler('ox_inventory:closeInventory', function() end)
```