- Thread Author
- #1
Show a sign with the text RAGE:MP

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(); }
});