RE MAKE WITH LEO AND CIV SPOTS
roleplay-commands
Installation
npm install roleplay-commands
Setup
const RPcommands = require('roleplay-commands') const rp = new RPcommands
/
since it replicates real FiveM
NOTICE this looks a lot better if the bot prefix is Functions
.lockCar(message)
.unlockCar(message)
.refuel(message)
.unrackRifle(message)
.rackRifle(message)
.windowsUp(message)
.windowsDown(message)
.rackShotgun(message)
.unrackShotgun(message)
.searchPerson(message)
.searchVehicle(message)
.me(message, prefix)
.OOC(message, text)
.twotter(message, prefix)
.radarOn(message)
.radarOff(message)
.cuff(message)
unCuff(message)
.engineOn(message)
.engineOff(message)
.seatbeltOn(message)
.seatbeltOff(message)
.dashcamOn(message)
.dashcamOff(message)
.radarSet(message, prefix)
Examples are included for these last three.
const mapLink = 'your_patrol_map_link_here'
.patrolMap(message, mapLink)
const cadLink = 'your_cad/mdt_link_here'
.cadMdt(message, cadLink)
const penalCodeLink = 'your_penal_code_link_here'
.penalCode(message, penalCodeLink
Change Log
5/9/2021
- Changed the README file a little bit
- Fixed action command "prefix is not defined" and added an OOC (out of character) || Changed action to
me
to look more like FiveM
5/16/2021
- Added an updated
Future Updates
section
10/9/2021
- Fixed the searchPerson command