Scripting Overview
FiveM supports multiple scripting languages for creating custom resources.
Supported Languages
- Lua: Most common, native support
- JavaScript: Modern alternative
- C#: For advanced developers
Script Types
Server-Side
Runs on the server:
- Game logic
- Database operations
- Player management
- Security checks
Client-Side
Runs on each player’s client:
- UI rendering
- Input handling
- Visual effects
- Local game state
Getting Started
- Resource Lifecycle - Understand how resources work
- Events - Learn about event system
- NUI - Create user interfaces
- Examples - See working examples
Next Steps
Choose your language:
Last updated on