rGUI is a GUI Library made for the GTA Multiplayer Modification RAGE:MP

Overview

rGUI - RAGE:MP

A multifunctional GUI Library made for the GTA Multiplayer Modification RAGE:MP which is easy to use and understand.

Will be updated frequently.

Table of Contents

Functions

Current functions:

// rGUI Functions
rGUI.BeginWindow(title, bool, position, size, menuindex);     // menuindex locks checkboxes etc to the window with the same menuindex, check the example
rGUI.GetKey(key, type);                                       // different types: JustPressed, JustReleased, IsPressed
rGUI.BlurBackground(bool);                                    
rGUI.ShowCursor(bool);                                        
rGUI.Button(title, position, size, menuindex);                
rGUI.Checkbox(title, bool, position, menuindex);              // object is your config for the checkbox, please check the example
rGUI.Slider(title, object, position, size, menuindex);        // object is your config for the slider, please check the example
rGUI.EndWindow(menuindex);                                    // always end your window
rGUI.DrawRect(position, size, color, menuindex, outmenu);     // outmenu is a bool which changes if the rect should be draw'd inside or outside of the menu

// rGUI.RAGE Functions
rGUI.RAGE.getAllOf();             // similar to mp.events.getAllOf
rGUI.RAGE.AddDataHandler();       // similar to mp.events.addDataHandler
rGUI.RAGE.Invoke();               // similar to mp.game.invoke
rGUI.RAGE.CallRemote();           // similar to mp.events.callRemote
rGUI.RAGE.CallRemoteU();          // similar to mp.events.callRemoteUnreliable
rGUI.RAGE.CallLocal();            // similar to mp.events.callLocal
rGUI.RAGE.Call();                 // similar to mp.events.call
rGUI.RAGE.AddEvent();             // similar to mp.events.add

StyleVars

Current StyleVars:

rStyle.DrawTitlebar           // true or false
rStyle.TitleFont              // get font number here: (https://wiki.rage.mp/index.php?title=Graphics::drawText)
rStyle.TitleOutline           // true or false
rStyle.CenterTitleText        // true or false
rStyle.MainFont               // get font number here: (https://wiki.rage.mp/index.php?title=Graphics::drawText)
rStyle.MainFontOutline        // true or false
rStyle.EnableResize           // true or false
rStyle.WindowBg               // {r: 42, g: 74, b: 123, a: 255}
rStyle.TitleBg                // {r: 42, g: 74, b: 123, a: 255}
rStyle.Seperator              // {r: 42, g: 74, b: 123, a: 255}
rStyle.CheckboxNormal         // {r: 42, g: 74, b: 123, a: 255}
rStyle.CheckboxHovered        // {r: 42, g: 74, b: 123, a: 255}
rStyle.CheckboxTick           // {r: 42, g: 74, b: 123, a: 255}
rStyle.ButtonNormal           // {r: 42, g: 74, b: 123, a: 255}
rStyle.ButtonHovered          // {r: 42, g: 74, b: 123, a: 255}
rStyle.ButtonPressed          // {r: 42, g: 74, b: 123, a: 255}
rStyle.SliderGrab             // {r: 42, g: 74, b: 123, a: 255}
rStyle.SliderNormal           // {r: 42, g: 74, b: 123, a: 255}
rStyle.SliderHovered          // {r: 42, g: 74, b: 123, a: 255}
rStyle.SliderPressed          // {r: 42, g: 74, b: 123, a: 255}
You might also like...

Perfect interpolation for multiplayer cursors.

Perfect interpolation for multiplayer cursors.

perfect-cursors Perfect interpolation for animated multiplayer cursors. Used in tldraw. 💕 Love this library? Consider becoming a sponsor. Installatio

Dec 15, 2022

A serverless, real-time, wordle-inspired, multiplayer game.

A serverless, real-time, wordle-inspired, multiplayer game.

fivebysix.com A multiplayer, worlde-inspired web app. Demo Technologies 100% TypeScript (including IAC via CDK) Vite React / Redux AWS AppSync Dynamo

Jan 1, 2023

A basic implementation of Flappy Bird with real-time multiplayer using Hathora

A basic implementation of Flappy Bird with real-time multiplayer using Hathora

Multiplayer Flappy Bird with Hathora A basic implementation of Flappy Bird with real-time multiplayer Overview This is a simple game of Flappy Bird ex

Jul 1, 2022

Spacecraft - multiplayer code editor & terminal

Spacecraft - code, create and hop together. Inspiration Cloud developer environments are the new cool. Services like Gitpod & Github Codespaces have h

Dec 21, 2022

API, web and mobile application for finding a partner to play online multiplayer games.

API, web and mobile application for finding a partner to play online multiplayer games.

Duo Finder Duo Finder is a simple mobile and web application for gamers looking for partners to play a game with. It's basics was developed during the

Sep 20, 2022

An online multiplayer IO-like game that tests your general knowledge.

An online multiplayer IO-like game that tests your general knowledge.

Source code for insort.app Insort is a game where you sort a deck of cards by some attribute. It's main components are React, Socket.io, Express and P

Dec 10, 2022

A quotaless, partially limitless, and fast Node.js Multiplayer Piano server implementation that efficiently makes use of the protocol and uWebSockets.js

speedymppserver A quotaless, partially limitless, and fast Node.js Multiplayer Piano server implementation that efficiently makes use of the protocol

Oct 14, 2022

We are a group of videogame URJC students making a brand new Phaser3.0 browser multiplayer game. Come and support us!

COOKIE MAYHEM - JUEGOS EN RED Este proyecto está sujeto a cambios. Somos un grupo de estudiantes de Diseño y Desesarrollo de Videojuegos en la Univers

Dec 19, 2022

Gatsby-Formik-contact-form-with-backend-panel - Full working contact form with backend GUI panel.

Gatsby minimal starter 🚀 Quick start Create a Gatsby site. Use the Gatsby CLI to create a new site, specifying the minimal starter. # create a new Ga

Jan 2, 2022
Owner
revenant.
revenant.
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Offline modification of Doodle Champion Island Games by Google

Doodle Champion Island Games This is an offline backup copy of the Doodle Champion Island Games by Google and Studio 4°C. The game has been modified t

null 67 Dec 24, 2022
A Technical Blogging Website that utilizes Notion as a CMS for ease of modification with the help of the notion-API & whose content has been rendered with next-js and react-notion-x

GDSC MCE Blogs This repo is what GDSC MCE uses to power their blogging website gdsc-mce-blogs. It uses Notion as a CMS, fetching content from Notion a

null 7 Dec 16, 2022
This is college project in which me and my team create a website that provide the tools for basic text modification and add todos also we add blog init.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Ayush 4 Jun 9, 2022
A Bower wrapper for @bartaz modification to the jQuery Term Highlighting plugin.

jQuery.Highlight.js Text highlighting plugin for jQuery. Original code and documentation. Install API Examples Attribution Install How to use this plu

Ilya Radchenko 46 Dec 30, 2022
A simple library for Node and the browser that allows you to rapidly develop stateful, socketed multiplayer games and web applications.

gameroom.js Overview gameroom.js is a simple library for Node and the browser that allows you to rapidly develop stateful, socketed multiplayer games

Jackson Bierfeldt 3 Nov 3, 2022
A compact JavaScript animation library with a GUI timeline for fast editing.

Timeline.js A compact JavaScript animation library with a GUI timeline for fast editing. Check it out in this example: http://vorg.github.io/timeline.

Marcin Ignac 516 Nov 26, 2022
An api named Crypto Versus, a multiplayer versus hacking simulator. Project still in the making!

Crypto Versus A Multiplayer Versus Hacking Simulation Inspired by the Steam game Bitburner Table of content Possible ouputs for all endpoints routes /

null 3 Jan 29, 2022