fivem-nui
10
总安装量
9
周安装量
#31115
全站排名
安装命令
npx skills add https://github.com/germanfndez/fiveai-skills --skill fivem-nui
Agent 安装分布
opencode
9
gemini-cli
9
github-copilot
9
codex
9
kimi-cli
9
amp
9
Skill 文档
FiveM NUI Development
Best practices for FiveM NUI development â fullscreen UIs, NUI callbacks, messaging, and UI integration. Use this skill whenever you are dealing with FiveM user interfaces to obtain domain-specific knowledge.
When to use
- User asks how to create a UI for FiveM.
- Creating or editing HTML/CSS/JS files for FiveM resources.
- Setting up
ui_pagein fxmanifest.lua. - Questions about NUI callbacks, SendNUIMessage, or SetNUIFocus.
- Need to look up natives â point to https://docs.fivem.net/natives/.
How to use
Read individual rule files for detailed explanations and examples:
- rules/setup.md â Setting up NUI in a resource: ui_page, files entry, folder structure.
- rules/fullscreen-nui.md â Creating fullscreen NUI pages: SEND_NUI_MESSAGE, SET_NUI_FOCUS, developer tools, referencing assets.
- rules/nui-callbacks.md â NUI callbacks: RegisterNUICallback, fetch requests, data handling, security.
- rules/best-practices.md â Best practices: performance, security, communication patterns, error handling.
- rules/reference-links.md â Official docs and natives reference.