Skip to content

Rexshack-RedM/rsg-docs

Repository files navigation

RSG Framework Official Documentation

License Discord

The official comprehensive documentation for RSG Framework - A complete RedM roleplay framework.

📖 Documentation

Live Documentation: https://rsg.mintlify.app/homepage

This documentation provides complete guides, API references, and tutorials for developing with RSG Framework.

📚 What's Included

Getting Started

  • Installation guides (Windows & Linux)
  • Framework configuration
  • First resource creation

RSG Core Documentation

  • Server Functions - 50+ server-side functions with examples
  • Client Functions - 40+ client-side functions with examples
  • Events - Complete event system documentation
  • Player Data - Player structure and manipulation
  • Callbacks - Asynchronous callback system
  • Commands - Command registration and handling

Inventory System

  • Complete inventory API reference (35+ exports)
  • Meta items guide with real use cases
  • Weapons integration
  • Weight and slot mechanics
  • Database structure

Lua Fundamentals

  • Getting started with Lua for RedM
  • Events & callbacks mastery
  • Threads & loops best practices
  • Common RSG patterns and examples

Additional Resources

  • ox_lib integration guides
  • ox_target reference
  • RedM natives reference

🎯 Philosophy

This documentation serves as both:

  • API Reference - Quick lookup for experienced developers
  • Learning Resource - Comprehensive guides for beginners

We believe in providing not just what functions exist, but how to use them effectively with real-world examples from the RSG Framework codebase.

🤝 Contributing

We welcome contributions to improve the documentation! If you find errors, have suggestions, or want to add examples:

  1. Fork this repository
  2. Create a feature branch (git checkout -b feature/improvement)
  3. Make your changes
  4. Commit your changes (git commit -m 'Add some improvement')
  5. Push to the branch (git push origin feature/improvement)
  6. Open a Pull Request

Contribution Guidelines

  • Ensure all code examples are tested and working
  • Follow the existing documentation structure and style
  • Include practical examples from real RSG Framework usage
  • Keep explanations clear and beginner-friendly

🛠️ Built With

🔗 Links

📄 License

This documentation is licensed under the MIT License - see the LICENSE file for details.

💖 Credits

  • RSG Framework Team - For creating and maintaining the framework
  • Documentation Contributors - For improving and expanding the guides
  • Mintlify - For providing the documentation platform
  • RedM Community - For continuous support and feedback

📞 Support

Need help? Have questions?


Made with ❤️ for the RSG Framework community