This guide is here to help you understand the process, meet the expectations for style and formatting, and ensure your edits are reviewed and approved smoothly.
You can use the Markdown Guide to gain an understanding of Markdown and its principles.
You can contribute to the documentation in one of two ways, depending on how you'd like to work:
For small fixes or quick edits, you can use GitHub's in-browser editor.
Simply navigate to the file you want to change and click the pencil icon.
For guidance, see GitHub's help page on editing files.
git clone https://github.com/your-username/fivem-docs.git
, replacing your-username with your GitHub username.Fixes #123
).Use Markdown headers to organize your content:
##
for section headers and ###
for subsections and so on.Example:
✅ ## Installing FiveM
❌ ## Miscellaneous / First Step
Use bullet points (like - or *) for unordered lists, such as:
Use numbered lists (e.g., 1., 2., etc.) for ordered content, including:
Use alert boxes to highlight important information.
Examples:
{{% alert title="Primary alert" theme="primary" %}}A simple primary alert{{% /alert %}}
{{% alert title="Secondary alert" theme="success" %}}A simple secondary alert{{% /alert %}}
{{% alert title="Warning alert" theme="warning" %}}A simple warning alert{{% /alert %}}
{{% alert title="Danger alert" theme="danger" %}}A simple danger alert{{% /alert %}}
Limit the use of external links whenever possible.
When external links are necessary, ensure they are likely to remain available long-term.
Do not add links to images, see "Images and Diagrams" for more information on how to add them inside our documentation repository.
Use [text](URL)
for clickable links.
Example: [FiveM Docs](https://docs.fivem.net)
Do not use shorthand links such as <https://example.com>
.
Sibling URLs require to go to the parent path using ../
even though the corresponding files are located in the same directory.
If you a referencing a native, link to it like this:
{{% native_link "NAME_OF_NATIVE" %}}
Example: {{% native_link "IS_MODEL_A_VEHICLE" %}}
Will render as: IS_MODEL_A_VEHICLE
Use backticks (``
) for inline code.
Example: `git clone https://github.com/citizenfx/fivem.git`
Use triple backticks (```
) to create code blocks for larger examples and specify the appropriate language.
Example:
```lua
-- Client-side script
function sayHello()
print("Hello, World!")
end
-- Call the function
sayHello()
```
Specify the language for syntax highlighting (e.g., bash
, lua
, json
).
Use proper indentation and consistent spacing (avoid mixing tabs and spaces).
Add brief context or explanation before/after the code when needed.
Provide consistent examples in Lua(default), JavaScript and C# if applicable.
This guide aims to keep docs clear, consistent, and easy to follow for all users, especially beginners.
Audience: Write with the assumption that the reader may be new to FiveM or game server modding. Keep explanations simple and understandable.
Consistency: Ensure consistent terminology and formatting across all documentation. This helps maintain a uniform tone and clarity.
Imperative Tone: Use the imperative mood (e.g., "Install the dependencies") rather than passive (e.g., "The dependencies should be installed").
Spell Check: Please ensure that your contributions are free of typos and grammatical errors.
Consistency in Spelling: Choose American English spelling (e.g., "color" instead of "colour").
Punctuation: Ensure proper punctuation in all documentation. This includes commas, periods, and other punctuation marks at the end of sentences.
You can upload images and diagrams to the /static/
directory.
To include them in your documentation, use the following Markdown syntax:

In 
, the "Alt Text" is the alt text.
This is a short description of the image that is displayed if the image can't be shown.
Replace "Alt Text" with a brief description relevant to the image (e.g., "Server Console Output" or "Example Vehicle Spawn Menu").
Ensure all screenshots and visuals are clear, cropped, and properly labeled.
For Guides and Articles:
Examples:
install-guide.png
how-to-mod-vehicles.webp
This style is case-sensitive - always use lowercase with exceptions below.
For Game References (e.g., ped models, vehicles, weapons):
Examples:
adder.webp
WEAPON_GRENADELAUNCHER_SMOKE.png
csb_trafficwarden.png
This format is also case-sensitive - match the game's naming exactly.
Image Placement: Place images and diagrams within the body of the text where they are referenced.
Use Markdown syntax to display images:
Example:

Will render as:
The use of AI tools is permitted strictly for spelling, grammar, and clarity improvements. Full content generation, including writing complete articles or guides using AI, is not allowed.
FiveM Docs
Markdown Guide
GitHub Editing files
Thank you for contributing! ❤️