fivem-docs
fivem-docs copied to clipboard
FiveM documentation repository
Hi there, with the addition of the compact RegisterNetEvent that also do AddEventHandler in the background, do we want to suggest new dev to use it in place of AddEventHandler...
According to the source, the parameters should be like this https://github.com/citizenfx/fivem/blob/22cb14b8723129227fa6bc2775b4098217feeab4/code/components/citizen-server-impl/src/state/ServerGameState.cpp#L5828 https://github.com/citizenfx/fivem/blob/22cb14b8723129227fa6bc2775b4098217feeab4/code/components/citizen-server-impl/src/state/ServerGameState.cpp#L4757 Though it might be better to document it from the source (and to auto generate it for https://docs.fivem.net/docs/scripting-reference/events/server-events/),...
This guide explains the user on how to use FxDK. The following subjects are mentioned in this guide: - Projects (Creating and Building) - Resources (Creating, Running and Adding new...
This step previously assumed that the person already made a key, but the steps don't say how to make a key. This change tells them to go to the keymaster...
- added a lua example for weaponDamageEvent
Add a client-specific `ClientScript` and server-specific `ServerScript` class as alternative to `BaseScript`, which was added since artifact 3395 https://github.com/citizenfx/fivem/commit/304f787be3ae9a2a6f0365688318512ea69b1cfe
I feel this is much easier to understand than creating a new Action, and what not. Also makes code look much cleaner.
This commit adds documentation on how to use Lua 5.4 and documents the power patches provided by this new release. Most of the documentation for this comes from the readme...
Developers who already have some experience with development may just want a fact sheet with a quick overview of the ScRTs, possibly with links to the quick starts.
Create some new pages: - [ ] Finding Resources - [ ] Discover a framework