Scripts
207 files
-
[C#] Keys Bind for C#
By CMHDev
This function helps you to add keys binding if you use C # client side ...
Example of use :
Tick Event
KeyManager.KeyBind(0xA2, () => { Chat.Output("Key Bind Work"); }); KeyManager.KeyBind(KeyManager.KeyMouse, () => { Cursor.Visible = !Cursor.Visible; });
702 downloads
-
Flaming Footprints
By rootcause
A small (and extremely delayed, it was originally planned for halloween!) C# resource that lets players toggle flaming footprints. This feature was first used in GTA Online's Lost vs Damned adversary mode.
Installing & Using
Put the files you downloaded in their respective places Use /footprints command in game to toggle the effect211 downloads
-
Walking Styles
By rootcause
This resource lets players choose their walking style. Selected walking style is synced to other players.
Installing
Put the files you downloaded in their respective places Download & install BasicMenu or NativeUI if you haven't yet, this script needs it Add require('walkingstyles') to client_packages/index.js All done Controls
F5 Key - Show/hide walking style menu.
Adding/Removing Walking Styles
You can add/remove walking styles by changing walkingStyles array inside packages/walkingstyles/index.js, make sure your AnimSet is valid!
1908 downloads
-
Synced Vehicle Indicators
By rootcause
Installing
Put the files you downloaded in their respective places Add require('indicators') to client_packages/index.js All done Controls
Numpad 4 - Toggle left indicator Numpad 6 - Toggle right indicator1250 downloads
(4 reviews)0 comments
Updated
-
Simple Teams
By rootcause
Prevents players of the same team shooting eachother.
Installing
Put teams into your server's client_packages directory, then add require('teams'); to client_packages/index.js.
Using
It's pretty simple, just set currentTeam shared variable of a player like this:
// both strings and numbers should work playerEntity.data.currentTeam = whatever; playerEntity.setVariable("currentTeam", whatever); And set currentTeam to null if you want to reset someone's team.
Note
This resource doesn't prevent all kinds of friendly fire, for example projectile weapons like RPG can hurt teammates, you can still run teammates over with a vehicle etc. You can check if both killer and victim is on the same team and punish the killer, though.
549 downloads
(4 reviews)0 comments
Updated
-
Basic Player Blips
By rootcause
This resource adds GTAO style player blip/icon to streamed in players. Their icon will be removed when they stream out.
You can change the color of player blips by setting blipColor using Entity::data or Entity::setVariable on serverside. For a list of blip colors, visit the wiki page about blips.
Installing
Put playerblips into your server's client_packages directory, then add require('playerblips'); to index.js.
2224 downloads
(6 reviews)0 comments
Updated
-
Moods
By rootcause
This resource lets players choose their mood. Selected mood is synced to other players.
Installing
Put the files you downloaded in their respective places Download & install NativeUI if you haven't yet, this script needs it Add require('moods') to client_packages/index.js All done Controls
F7 Key - Show/hide mood menu.
623 downloads
(5 reviews)0 comments
Updated
-
Crouch
By rootcause
Lets you crouch by pressing CTRL.
Installing
Put the files you downloaded in their respective places Add require('crouch') to client_packages/index.js All done
Notes
Since both this script and walking styles script uses setMovementClipset and resetMovementClipset, they probably won't work at the same time. Crouching is synced between players.2175 downloads
-
Client-side TowTruck States Event
By Tampa
OnPlayerTowTruckStateChange returns: attach - when any vehicle has been attached to tow truck detach - when attached vehicle has been detached from tow truck deadOrDestroy - when attached vehicle has been destroyed exit - when player exit tow truck while have got attached some vehicle
I think that's simple and useful for everyone.
586 downloads
(1 review)0 comments
Updated
-
Local Voice Chat (C#)
By ragempdev
A C# version of the local voice chat resource:
Note that you need client-side C# access to run it which is not public yet as of 22nd November 2018.
1232 downloads
-
Timecycle Modifiers
By rootcause
This resource lets you preview many of the available timecycle modifiers in GTA V.
Installing
Download & install the latest BasicMenu or NativeUI if you haven't already, this script needs it Drop the timecycpreview folder to your server's client_packages Add require('timecycpreview') to client_packages/index.js All done Controls
Page Up - Increase timecycle modifier strength Page Down - Decrease timecycle modifier strength F9 - Show/hide the menu
261 downloads
(2 reviews)0 comments
Updated
-
Location + Speed Display
By rootcause
Just a small script that displays your location and vehicle speed (if you're in one) next to the mini map.
https://github.com/glitchdetector/fivem-minimap-anchor - credits for minimap anchor code
Notes
You can disable speed display feature by setting useSpeedo to false. Location and speed won't be displayed if your radar is disabled or hidden. Speed unit changes based on your Measurement System setting of GTA V, which you can find in Settings -> Display -> Measurement System.2236 downloads
-
Kill Feed
By rootcause
Simple kill feed script that displays recent deaths on the server.
Installing
Put the files you downloaded in their respective places Add require('killfeed') to client_packages/index.js All done
Notes
Even though this is a kill feed script, you can send other messages to players by passing a string (your message) to pushToKillFeed event. The kill feed is located below the ammo counter HUD element. The kill feed displays 5 items (variable: maxKillFeedItems) and will display an item for 30 seconds. (variable: killFeedItemRemoveTime) Not all death reasons are detected but weaponData.json covers most cases. Default kill feed font might not support all characters.846 downloads
-
Firing Modes
By rootcause
This script was originally made by EnforcerZhukov for singleplayer. (you can find it here) All credit goes to him.
I added extra stuff such as remembering firing mode (until you disconnect) per weapon, safety mode, HUD item and sound effects.
Installing & Using
Put guncontrol into your server's client_packages directory, then add require('guncontrol'); to index.js. Press F6 key to switch between firing modes.
Firing Modes
Auto: Default GTA shooting. Burst: Shoot 3 bullets every time you fire. (not supported on all weapons) Single: Shoot 1 bullet every time you fire. (not supported on all weapons) Safe: Disables shooting.
448 downloads
(1 review)0 comments
Updated
-
Free Cam
By ynhhoJ
With this script you can get coordinates of the camera and coordinates of where camera is pointing.
F5 - enable/disable. F5+Space - disable without warping to ground. W/A/S/D/Space/LCtrl - move. /savecam [name] - save Camera position. Example of save:
Position: -64.17094421386719, -824.6749877929688, 373.018310546875 | pointAtCoord: -76.13325500488281, -807.392822265625, 320.28961181640625 | entity: 139321 - First Pos
Author: @ragempdev
I just added possibility to save camera pos and pointAtCoord
2647 downloads
-
Manual transmission
By Captien
Hello everyone,
It's been a while i didn't do some resources, and I've seen root taking the throne for a while. So i thought i would contribute again with some average resource for the developers to know more about rage's environment. Basically this resource introduces manual transmission to cars to ensure more control on your vehicle and to enjoy the experience of the manual transmission (Could be useful for some drag racing maybe..).
Anyways manual is toggled by the command: /manual
Controls:
NUMPAD_ADD increases the gear. NUMPAD_SUBTRACT lowers the gear Simple manual HUD was introduced beside the mini-map to know everything about your vehicle.
Gears: 1-5, N, R.
Shifting to fast disables vehicle engine. You have wait the shiftNow sign to appear, so you can shift to the next gear.
Any questions/bugs please notify me in the comments section.
Drive safely,
Keptin
674 downloads
(6 reviews)0 comments
Updated
-
Binoculars
The scenario used here is not synced
Use the command to trigger the script :
/binocular Scroll up and down to zoom in / out.
Installation: Just put the folders where they should be, don't forget to import client side scripts in your index.js
If you have any question feel free to ask us
By AdAstra Dev Team (FR :D)
457 downloads
(2 reviews)0 comments
Updated
-
Local Voice Chat (3D)
By ragempdev
A local voice chat example using built-in voice chat API. Look for constants to change max range, auto volume (instead of changing volume on your own) and 3D effect.
Press F4 to toggle local player's muted state.
As of 24th Oct 2018 you need to use "testing_voice" branch to utilize voice chat API.
6011 downloads
-
Global Voice Chat
By ragempdev
The most trivial example usage of the recently introduced built-in voice chat API: global chat. It connects you to all players when you join the server and vice-versa.
Press F4 to toggle local player's muted state.
As of 24th Oct 2018 you need to use "testing_voice" branch to utilize voice chat API.
897 downloads
(5 reviews)0 comments
Updated
-
Fingerpointing
By etrex2k4
First of all i want to credit Geekness for this former Pointing CL code
I rewrote the Clientside Animation into JavaScript and synced it through two Serverside events and an additional Clientside SyncFix-Event with the help of George.
Installation:
1. Add client.js to your client_packages
2. Add require('./client.js'); in your clientside index.js
3. Add server.js to your packages (Optional you can copy the code and paste it into your existing events file)
4. Add require('./server.js'); in your serverside index.js
Control:
The Animation is bound to the 'b' key.
Have fun with this resource.
2625 downloads
-
GTAO Suicide
By rootcause
This script adds the suicide feature of GTA Online.
You can commit suicide by using /suicide command. Your character will shoot itself if you're holding a pistol and take pills otherwise.
Installing
Put the files you downloaded in their respective places Add require('suicide') to client_packages/index.js All done506 downloads
(3 reviews)0 comments
Submitted
-
[v0.3.5] Implementing Custom NameTags
By heyMad
Hi everyone!
In need of a custom script for a Custom NameTag, I found the @hartority script, however, it was an outdated project and it had been made for version 0.2 of RageMP, with some references already removed, well, I bring you today the corrected code.
Requirements:
RageMP server files. Nothing more! Just have fun. Introduction: This script is a reliable edition of the one produced by @hartority with only a few references to the RageMP library, so all code is credit @hartority. Let's start: 1. Go to "client_packages" folder in "RAGEMP/server-files" directory, usually: 2. Create a JavaScript archive (.js) named "customtag.js", example:
3. Inside the "customtag.js" paste this code:
4. Save "customtag.js" file, and open "index.js" in "C:\RAGEMP\server-files\client_packages" directory and put this:
End! Just test it and tell me if something goes wrong
Usage example:
The original code topic of @hartority:
Thanks for all feedbacks,
mad
thanks @hartority for your commitment
if you do not authorize this topic, please let me know
885 downloads
-
Basic Vehicle System
By BlackPanther
First Credits for @valdirdd for the Speedometer that i Edited....
And a big thank for @CommanderDonkey
for that fancy design of the speedometer.
FEATURES :
Fuel System,
Distance Calculation
And a Notice to all that would use it... its a german version so... u must be change it if u want another type.
INSTALL :
Put the files in the served folders...
add clientside in ur index.js
require('basicVehSystem');
to change to MPH use the following Tutorial...
I Hope u enjoy the files... Bugs please send me...
NOTICE:
to change the gas mileage edit line 30 in ur index.js in packages/basicVehSystem/index.js
let rest = (Veh_data*10); change the Multicator '10' to another value.... it calculate ur driven distance at the moment... with this multiplicator
2176 downloads
-
n0minal's Interior Browser (client-side only!)
By n0minal
n0minal's Interior Browser
Hello Dear Ragers,
Today I bring you guys a simple - but useful - browser for interiors to preview.
I spent something like ~2 hours to make it, so it might contain bugs, if you find a bug please post it in here or contact me by PM and I'll fix it as soon as possible.
Commands ⌨️
There are two commands (and binds for it):
/interior (or shortened: /i): Loads the Interior Browser menu, in which you can interact and select an interior to preview. /leave (or shortened: /l): Leaves the current interior and gets teleported back to your first position when you called the browser for the first time. The Script 📰
Download the .zip file and extract it inside your client-packages folder, after that, create (or edit) a index.js file in your client_packages root folder with the following content:
//requires interior-browser package require("interior-browser"); and you're ready to go!
Github Link: https://github.com/n0minal/interior-browser That's all,
See you on the next release!
1054 downloads
-
Character Previewer
By MarkCavalli
This resource will help work with player clothes. I hope, someone will add all clothes screens to wiki 😀
860 downloads
(2 reviews)0 comments
Updated
