A FiveM resource containing some tools / essentials for the police.
- Extract the contents into folder called
policetools
into your resources folder. - Start the script: a) in the
server.cfg
file; b) through the console
- In a server console, or client console (F8), type in
refresh
and confirm using ENTER - Type in
start policetools
and confirm using ENTER
- Add this line to your server.cfg
start policetools
- Save the file and restart the server.
/callsign <callsign>
- Sets the callsign to the specified one, will change your blip's appearance on the map. (e.g. L-11 -> blue dot with 11 in it)
<callsign>
: string - your callsign, formatted: e.g. L-21, C-3
/policeblip <action> <playerID>
Adds or removes the specified player to the WL
<action>
: add / remove / hide / show / on / off - specifies the action (on and off turns the blips globally on/off)<playerID>
: int - the player ID (leave empty if you want to apply the action on yourself)
/tint
- Checks the nearest vehicle's window tint.
OneSync is required to make this script work as it obtains player coordinates server-side.
None :-) Feel free to submit an issue on GitHub if you find any.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.