Hello, Guest

By registering with us, you'll be able to discuss, share and private message with other members of our community.
What's new

New blood effects for the RAGE:MP server | Blood VFX for servers RAGE:MP

Alexalsaud

Administrative
Staff member
Admin
Joined
Aug 5, 2024
Messages
337
ICoins
1,301

New blood effects for the RAGE:MP server | Blood VFX for servers RAGE:MP


This library adds new properties to the mp.game.graphics object (RAGE:MP client).
New properties allow you to use effects when hitting the player with shots.

InsecureCompassionateFunnelweaverspider-size_restricted.gif

[COLOR=rgb(97, 189, 109)]The missions of the original GTA5 with these effects are:[/COLOR]


RAGE Multiplayer 1.1.0 and higher is required.

If you've ever played the missions "Grass Roots - Michael" and "Grass Roots - Trevor", you remember these missions had special particle effects when hit by bullets. This resource allows you to use these particle effects on the server.

Installation:
Move the BloodVfx.js file to the client (client_packages) folder of your server, and then add an inclus of this library in the client_packages/index.js file:
JavaScript:
require('./BloodVfx.js');


JavaScript:
const KEY_F2 = 0x71;
const KEY_F3 = 0x72;
const KEY_F4 = 0x73;

const VFX_MODE_DEFAULT = 0;
const VFX_MODE_ALIEN = 1;
const VFX_MODE_CLOWN = 2;

// Pressing F2 will enable alien blood VFX.
mp.keys.bind(KEY_F2, false, () => {
mp.game.graphics.bloodVfxMode = VFX_MODE_ALIEN;
});

// Pressing F3 will enable clown blood VFX.
mp.keys.bind(KEY_F3, false, () => {
mp.game.graphics.bloodVfxMode = VFX_MODE_CLOWN;
});

// Pressing F4 will disable active blood VFX.
mp.keys.bind(KEY_F4, false, () => {
mp.game.graphics.bloodVfxMode = VFX_MODE_DEFAULT;
});

 
Back
Top