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

SCRIPT Show a sign with the text RAGE:MP

Alexalsaud

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

Show a sign with the text RAGE:MP


1725172970304.png

This resource, adds a way to force a local player to hold a board with custom text on it, custom text and animations will not sync with others.
You can also use this resource to understand how the rendertarget system works, which allows you to display a scale shape on certain game objects.
Installation:
Place the policetext in the client_packages directory of your server, then add require('policetext/index.js'); in index.js.
Available Features/Events:

JavaScript:
mp.players.local.mugshotboard.show -> mp.events.call("ShowMugshotBoard") -> Params: title, topText, midText, bottomText, rank = -1
mp.players.local.mugshotboard.hide -> mp.events.call("HideMugshotBoard") -> Params: -  And you can access if the local player has a mugshot board or not by using the hasMugshotBoard global variable.

Client-side example (pressing F10 will give your character a board, pressing it again will remove it):

JavaScript:
mp.keys.bind(0x79, false, () => {    if (!hasMugshotBoard) {        mp.players.local.mugshotboard.show(mp.players.local.name, "Top Text", "Mid Text", "Bottom Text", 15);    } else {        mp.players.local.mugshotboard.hide();    }
});

 
Back
Top