139 files
-
Player Scoreboard + Health & Armour
This is a Complete Script for Scoreboard.
add the file "client_packages" in main folder.
you can open / close the scoreboard with f10
made by CommanderDonkey & ByTropical
339 downloads
- Scoreboard
- Health
- (and 3 more)
(0 reviews)0 comments
Updated
-
Sky Camera
By Jengas
This script allows you to move the game camera in the air and back like in GTA:ONLINE
Installation:
Download file. Unzip folder into your client_packages. Add require('MoveSkyCamera/index.js'); to client_packages/index.js. Usage:
Calling on serverside
player.call('moveSkyCamera', [player, moveTo, switchType, showGUI]); Calling on clientside
mp.events.call('moveSkyCamera', player, moveTo, switchType, showGUI); Reference:
player = Ped; player handle moveTo = String; 'up' or 'down' switchType = Int; 0, 1, 2 or 3 0: 1 step towards ped 1: 3 steps out from ped (Recommended) 2: 1 step out from ped 3: 1 step towards ped showGUI = Boolean; Show chat and minimap during camera movement? Note: When using param moveTo as 'down', it's not necessary to add switchType and showGUI.
Examples:
mp.events.addCommand('movecam', (player) => { // Make camera to go up in to the sky player.call('moveSkyCamera', [player, 'up', 1, false]); // After 5 seconds, camera start to go back to player. setTimeout(() => { player.position = new mp.Vector3(0,0,10); // Set your position if you want player.call('moveSkyCamera', [player, 'down']); }, 5000); });
561 downloads
(2 reviews)0 comments
Updated
-
Cef Safe Zone
By ufteers
Hello ragers.
This script allows you to use the GTA safe zone in the browser. An example is seen in the video.
124 downloads
(1 review)0 comments
Updated
-
[JS] Client-side Door Control System
By Tampa
Now you can lock or unlock doors and gates (from GTA V world).
How to do that? Just press E.
If you appreciate my work, you can press the like button. ❤️
826 downloads
(3 reviews)0 comments
Updated
-
[JS] Basic Clothes Menu
By SnakeWiz
Simple cloth menu, you can open it by pressing F2.
This script requires NativeUI library, download it from the resources tab.
It's my first resource, do not expect too much.
https://github.com/Snakewiz/ClothesMenu
535 downloads
(2 reviews)0 comments
Submitted
-
Debug Script v1.0
By OvO
Hello community,
this is an very simple but powerful and useful script for finding out Positons around the GTA-5 map for easier for example Placing Bilps.
Changelog: - 02/03/2019: Release Current functions: - Show your position Ingame. - Show your Position in the Console Log. How to use: - Press F2 to see your Position Ingame. - Type as command /pos to see your Position in the console.
I will release soon an update with more functions for the debug section.
visit my Github for more projects! GitHub Profile
115 downloads
(1 review)0 comments
Submitted
-
MapEditor
By PrototypeX
Working version of the MapEditor by PrototypeX!
Developed for the project SMOTRArage
Old resource:
403 downloads
(3 reviews)0 comments
Updated
-
Instructional buttons
By Captien
Hello,
I thought it would be a opportunity to introduce some basic scaleform scripts that would help out some users with their development aka. use less CEF for simple stuff.
This resource introduces the ability to give button instructions that supports controls (Meaning it'll detect your input whether its a gamepad or keyboard...).
API
You can always have a look at the Controls to get their ID. Using the resource is very simple to use and it supports different uses of customization: You can adjust style between Horizontal (1) and Vertical (-1) You can adjust background color with RGBA (Note you'll need to add it in array form) or HEX. Bulk support for buttons. new hud(style, color) /* * style: -1 for horizontal view, 1 for vertical view * color: HEX or RGBA [255, 255, 255, 255] */ hudClassInstance.addButton(title, controlID); /* * title: any text * controlID: you can find a list of controlID on wiki */ hudClassInstance.addButtons({ anyName: controlID1, anyName2: controlID2 }); /* * Bulk support for adding buttons */ hudClassInstance.removeButton(titleOrControlID); /* * titleOrControlID: remove button by its title or controlID */ hudClassInstance.removeButton(titleOrControlID); /* * removes all buttons */ hudClassInstance.toggleHud(state); /* * state: Boolean toggling visibility */ hudClassInstance.changeStyle(style); /* * style: -1 for horizontal and 1 for vertical */ hudClassInstance.setBackgroundColor(color); /* * color: HEX string or RGBA Array */ hudClassInstance.changeButtonTitle(index, newTitle); /* * index: controlID or currentButton title. (if custom button you can type its name t_buttonName) * newTitle: string */ hudClassInstance.changeButtonControl(index, newControl); /* * index: controlID or currentButton title. (if custom button you can type its name t_buttonName) * newControl: controlID or custom control (t_buttonName) */ If you have any issues, you know as usual contact me on Forums or discord. Any suggestions please add it in your review. If you liked the resource show me your support to produce some useful resources in the future.
178 downloads
(4 reviews)0 comments
Updated
-
Plane smoke
By Captien
Hello,
This resource introduces colored smoke for certain planes to enjoy the stunt plane smoke from GTA:SA. Press X to start the smoke.
Supported Planes:
stunt duster microlight alphaz1 howard nokota cuban800 If you have any issues, you know as usual contact me on Forums or discord. Any suggestions please add it in your review. If you liked the resource show me your support to produce some useful resources in the future.
85 downloads
(2 reviews)0 comments
Submitted
-
Screen FX viewer.
By ynhhoJ
This is a simple script was made to help you to find a Screen FX effect!
Requirements: NativeUI.
Use F2, to see menu.
198 downloads
(1 review)0 comments
Updated
-
Speedometer Script
For install just copy files to your server.
Don't forget edit index.js into client_packages if you have more resources.
Read the LICENSE.txt befor use.
1487 downloads
(5 reviews)0 comments
Submitted
-
[SCALEFORM] Chat
By Captien
This resource introduces the known chat scaleform from GTA:O. This chat supports (TEAM, LOCAL, GLOBAL) chats.
CONTROLS:
T (GLOBAL chat) Y (TEAM chat) U (LOCAL chat) PAGE_UP (Scroll history up) works only when input is opened PAGE_DOWN (Scroll history down) works only when input is opened Known Issues:
Message colors aren't supported due to scaleform Other languages than ENGLISH isn't supported (Might be supported in future)
API:
Client-side API
// Client side // Property getter/setter Boolean (Disables/Enables chat input) mp.gui.chat.disabledInput = true; mp.gui.chat.disabledInput // Property getter Boolean (Check if chat is open) mp.gui.chat.enabled; // Function to clear localPlayer's chat feed mp.gui.chat.clear(); // Trigger chat's visibility (visible: Boolean); mp.gui.chat.visible(visible); /* * msg: string * scope: string (message's scope (Author [scope] msg)) * author: string (Default: [SERVER]) * authorColor: int hudColorID (https://wiki.rage.mp/index.php?title=Fonts_and_Colors) (Default: white) */ mp.gui.chat.sendMessage(msg, scope, author, authorColor); /* * Registers command locally for client. * name: string (command name) * arg1: command's arguement */ mp.gui.chat.addCommand(name, function (arg1, arg2) { // do whatever... }); /* * Removes command locally for client. * name: string (command name) */ mp.gui.chat.removeCommand(name); Server-side API
/* * Sends message to all players in server * msg: string * scope: string (message's scope (Author [scope] msg)) * author: string (Default: [SERVER]) * authorColor: int hudColorID (https://wiki.rage.mp/index.php?title=Fonts_and_Colors) (Default: white) */ mp.players.announce(msg, scope, author, authorColor); /* * Sends messaage to all players in specified dimension * dimension: int * msg: string * scope: string (message's scope (Author [scope] msg)) * author: string (Default: [SERVER]) * authorColor: int hudColorID (https://wiki.rage.mp/index.php?title=Fonts_and_Colors) (Default: white) */ mp.players.announceInDimension(dimension, msg, scope, author, authorColor); /* * Sends messaage to all players in specified dimension * position: Vector3 * range: int * msg: string * scope: string (message's scope (Author [scope] msg)) * author: string (Default: [SERVER]) * authorColor: int hudColorID (https://wiki.rage.mp/index.php?title=Fonts_and_Colors) (Default: white) */ mp.players.announceInRange(position, range, msg, scope, author, authorColor); /* * Registers commands in chat * name: string (command name) * player: command executer * arg1: Arguement after command */ mp.events.addChatCommand(name, function (player, arg1, arg2) { // Do what you want... }); /* * Removes command from server * name: string (command name) */ mp.events.removeChatCommand(name); /* * Sends message to all players in server * msg: string * scope: string (message's scope (Author [scope] msg)) * author: string (Default: [SERVER]) * authorColor: int hudColorID (https://wiki.rage.mp/index.php?title=Fonts_and_Colors) (Default: white) */ player.sendChatMessage(msg, scope, author, authorColor); // Clears player's chat player.clearChat(); Teams resource is supported.
If you have any issues don't hesitate to contact me on Discord/Forums DM.
You're not allowed to redistribute this resource without my permission.
296 downloads
(8 reviews)0 comments
Updated
-
Soundviewer
By Flashrex
Just a simple js-script that let you play every sound in the following list and gives you info about the current sound on the bottom of the screen:
https://wiki.rage.mp/index.php?title=Sounds
Install:
Simply drop the files in your client-packages folder and merge the index.js with your index.js.
How to use:
Type /s or /sound to activate/deactivate it.
Use Left-Arrow, Right-Arrow to navigate trough the sounds.
Credits:
Thanks to n0minal and his interior Resource with which i learned how to create commands in js.
123 downloads
(3 reviews)0 comments
Updated
-
SAMP Dialogs
By adri1
SA-MP Dialogs for RAGE MP (C# clientside).
This is my first resource so may contains bugs...
You must enable C# clientside!
Usage is simple: examples in Test.cs
Dialog(string dialog_name, string dialog_caption, string dialog_info, string[] dialog_buttons, string[] dialog_list_items = null, string dialog_input = null, string dialog_password_input = null)
241 downloads
(12 reviews)0 comments
Updated
-
(3 reviews)
0 comments
Updated
-
[C#] Key API
By ufteers
Key.Bind - This function binds the key.
keycode - hexadecimal code of key. keydown/keyup - true trigges on keydown, false triggers on keyup (bool) handler - function-handler. public class KeyTest: RAGE.Events.Script { public KeyTest() { Key.Bind(Keys.VK_ESCAPE, true, () => { // Code here return 1; }); } } To bind multiple keys:
Key.Bind(new Keys[] { Keys.VK_T, Keys.VK_F6 }, true, ...)
Key.IsUp - Returns true if the key specified has been released. Otherwise, returns false.
keycode - code of the key (Keys.VK_T or 0x54) private void Tick(List<Events.TickNametagData> nametags) { if(Key.IsUp(0x62)) { // NUMPAD2 up } } Key.IsDown - Returns true if the key specified is pressed. Otherwise, returns false.
keycode - code of the key private void Tick(List<Events.TickNametagData> nametags) { if(Key.IsDown(new int[] { 0x60, 0x61 })) { // NUMPAD0 & NUMPAD1 pressed. } }
80 downloads
(1 review)0 comments
Submitted
-
Simple Rainbow Text
Hey !
So this script adds simply a Rainbow Text usefull for display some text like ur discord server or server name ...
Installing:
Just drag the RainbowText folder to ur client_package and don't forget to add the require('RainbowText/rainbowtext.js'); to ur index.js
Notes:
I’ve done my best to explain to you everything you need to know about the code. If you have any questions, just post it.
The script can probably be improved, I’m still new to JS I’m learning from day to day, if you have any advisors do not hesitate. 😅
For french people just go to my Github to see how the installation work or just translate it lul 😋:
https://github.com/SuperCoolNinja/SimpleRainbowText
40 downloads
(2 reviews)0 comments
Updated
-
[C#] Screen FX Preview
By Rushreflex
What it does: https://streamable.com/pht3r
How to use:
- requires c# on clientside
- trigger clientside event from server
For example:
Add a server command and trigger this clientside script like this:
NAPI.ClientEvent.TriggerClientEvent(client, "EnableScreenFx");
Navigate through all the effects with left and right arrow keys - you'll get a local chat message with the current name of the effect and the index.
Previous fx: LeftArrow
Next fx: RightArrow
104 downloads
(1 review)0 comments
Submitted
-
CEF vehSpawner
By Anzo
Installing:
Place the files you downloaded in their locations.
Add "require('.vehSpawner');" to client_packages/index.js.
Controls:
F3 to toggle menu.
Everything else is done in cef interface.
Features:
Spawn any vehicle from https://wiki.rage.mp/index.php?title=Vehicles (2019-05-04).
All players can spawn up to 4 vehicles each.
Vehicles will despawn on server disconnect.
Choose vehicle color via a simple color picker.
Repair the vehicle you are in (2 min timer so you cant spam it).
Players have the ability to despawn (destroy) their vehicles.
Credits:
Josh Pullen for his color picker script at jsfiddle: https://jsfiddle.net/PullJosh/dpkP3/. Without this choosing vehicle colors would not be a feature.
P.S. SS's are in 1440p, side menus will be closer to center in 1080p and the larger vehicle categories will require scrolling.
405 downloads
(2 reviews)0 comments
Updated
-
CEF wepSpawner
By Anzo
Installing:
Place the files you downloaded in their locations.
Add "require('.wepSpawner');" to client_packages/index.js.
Controls:
F4 to toggle menu.
Everything else is done in cef interface.
Features:
Spawn any weapon from https://wiki.rage.mp/index.php?title=Weapons (2019-05-05).
Get all weapons instantly by clicking "All Weapons".
Get all weapons from a category by entering the category and clicking "All *Category name*".
Get any weapon you choose.
Ability to remove all weapons and start over.
219 downloads
(1 review)0 comments
Submitted
-
Custom UI Healthbar and Armor.
Hey !
So this script adds simply a Custom UI for the Healthbar and the Armorbar !
To this I simply add a condition for only if the player is in the car the GPS will be Display.
Installing:
Just drag the custom_ui folder to your client_package and don't forget to add the require('custom_ui '); to your index.js.
If you don't want to download this, you can also check the source code here:
https://github.com/SuperCoolNinja/ragemp-custom-ui
144 downloads
(0 reviews)0 comments
Submitted
-
Realtime Weather
By unkaid
Server-sided script, that getting a real weather hourly and sets it in the gta 5 world.
HowTo:
I. Install getJSON: npm install get-json --save
II. Go to https://developer.accuweather.com/ and register as the Developer.
III. To get your new API key, create your WeatherAPP here, https://developer.accuweather.com/user/me/apps
On the question: "What programming language is your APP written in?" Answer will be: JavaScript.
IV. Go to https://www.accuweather.com/ and find your preferred location on the map or by the search field, for example: Moscow, Russia.
To set more accurate location to your preferred, click on the nearest point on the map, for me it is Yakimanka, then click on 'Hourly".
V. The URL will look like this: https://www.accuweather.com/en/ru/yakimanka/2515350/hourly-weather-forecast/2515350
Well, 2515350 is the Location Key that we will use further.
VI. Let's assemble your AccuWeather URL: http://dataservice.accuweather.com/forecasts/v1/hourly/1hour/YOUR_LOCATION_KEY?apikey=YOUR_API_KEY
VII. Paste new AccuWeather URL into the script and save it.
Warning! The Trial Version of AccuWeather is limited for 50 requests per day.
GitHub
196 downloads
(1 review)0 comments
Updated
-
Easy Blip Creator | Fixed
I Fixed the Easy Blip Creator. Because of a change in RageMP Wiki, the script could no longer load the images. to see here. I fixed this to see here. Everything should now work normally again with this script
original version & creator of this script:
194 downloads
(3 reviews)0 comments
Submitted
-
[JS] Regional Restrictions
By unkaid
Simple solution to check incoming connections from unwanted countries.
I. Install geoip-Lite: npm i geoip-lite
II. Edit country_ban list with the specified country codes https://dev.maxmind.com/geoip/legacy/codes/iso3166/
III. Save and put this script to "server-files\packages" and add require('./countryBan'); in index.js
38 downloads
- server-side
- javascript
- (and 5 more)
(1 review)0 comments
Submitted
-
[JS, CEF] Internet Radio
By unkaid
Internet radio over colshapes using CEF.
Scope of application: custom clubs, interiors.
Default location is the Galileo Observatory (behind the monument).
Default radio station - Wacken Radio (DE).
Installation:
I. Put server files to: server-files\packages\yourGameMode
II. Add require('./rStreamColshapes'); to your server's index.js
III. Put client files to: client_packages then edit your client's index.js and add require('./rStream');
To change radio stream url, edit index.html here: client_packages\cef\rStream\index.html
GitHub
169 downloads
(2 reviews)0 comments
Updated
