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

+2
View File
@@ -1,3 +1,5 @@
# Functions
## pickClosestDoor
Attempt to pick the lock of the closest door. Dependant on server-side checks and may fail.
+6 -4
View File
@@ -1,8 +1,10 @@
# Triggers
# Events
## Triggers
These events are safe to trigger and handle in other scripts.
## ox_doorlock:setState
### ox_doorlock:setState
Can be triggered to lock or unlock a door.
@@ -13,11 +15,11 @@ TriggerEvent('ox_doorlock:setState', doorId, state)
- doorId: `number`
- state: `0` or `1`
# Handlers
## Handlers
These events shouldn't be triggered by any other scripts.
## ox_doorlock:stateChanged
### ox_doorlock:stateChanged
Triggered when a doors state is updated.
+2
View File
@@ -1,3 +1,5 @@
# Functions
Gets data for a door with the given id, matching the id for the database entry.
## getDoor
+3 -1
View File
@@ -1,7 +1,9 @@
---
title: Door settings
title: Door Settings
---
# Door Settings
## General
- Door name