roleplay-commands
v1.0.4
Published
Simple and easy to use commands for GTA or Roblox Roleplay
Maintainers
Readme
RE MAKE WITH LEO AND CIV SPOTS
roleplay-commands
Installation
npm install roleplay-commandsSetup
const RPcommands = require('roleplay-commands') const rp = new RPcommands
NOTICE this looks a lot better if the bot prefix is / since it replicates real FiveM
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, penalCodeLinkChange 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
meto look more like FiveM
5/16/2021
- Added an updated
Future Updatessection
10/9/2021
- Fixed the searchPerson command
