â—
Commands
A list of all the commands and their respective resource
Sends a message to the player with the given
id
with the reason
given. Also, adds a warning against the player in the database table player_warns
Permission level: admin
- id - (required) The id of the player being warned
- reason - (required) The reason for giving a warning
Checks for existing warnings against a player with the given
id
. If no warning number is given in the command, it will display the number of warnings the player has received. If a warning number is given in the command, it will display that warning.Permission level: admin
- id - (required) The id of the player being checked
- number - (optional) The warning number (1, 2, 3, etc...)
This command sets the NUI focus state for a player with the given
id
. This allows you to manually set the following native: https://docs.fivem.net/natives/?_0x5B98AE30
Useful if a player is stuck in an NUI overlay.Permission level: admin
- id - (required) The id of the player
- hasFocus - (required) [true/false] Whether the NUI has focus or not
- hasCursor - (required) [true/false] Whether the player has cursor when using NUI
Teleports you to either a player with the given
id
or to a given x, y, z
locationPermission level: admin
- id or x - (required) The player id or x coordinate
- y - (optional) The y coordinate (required if using x for the first argument)
- z - (optional) The z coordinate (required if using x for the first argument)
This command sends an alert to all players with the job 'police'. The alert will contain the given
message
and a blip is added to the police player's map at your current location.Permission level: user
- message - (required) The message to send with the alert
Gives a player with the given
id
the license of the given license
type.This command can only be used by players with the job of 'police' above the minimum grade as set by
Config.LicenseRank
(Default is grade 2 and above). Permission level: user
- id - (required) The id of the player
- license - (required) The license type (E.g. "weapon" or "driver")
Removes a license of the given
license
type from a player with the given id
.This command can only be used by players with the job of 'police' above the minimum grade as set by
Config.LicenseRank
(Default is grade 2 and above). Permission level: user
- id - (required) The id of the player
- license - (required) The license type (E.g. "weapon" or "driver")
Allows a player with the job of 'police' to spawn an object
Permission level: user
- type - (required) The object type. Available types:
- cone - a traffic cone
- barrier - a roadblock barrier
- roadsign - a road sign
- tent - a gazebo for crime scenes
- light - a work light
- delete - delete an object
- /givecash - gives the player an amount of cash
- /drivinglicense - give player a license after a driving test
- /binds - allows you to set customs key binds
- /divingsuit - uses the diving suit
- /newdoor - opens UI for creating new door
- /doordebug - debug for doorlocks
- /newdealer - creats a new dealer at a location (front door of house)
- /deletedealer - deales a saved dealer
- /dealers - show list if info on dealers
- /dealergoto - teleport to dealer
- /cleargarbroutes - removes garbo routes for user
- /removestand - removes a hotdog stand
- /decorate - opens decorate menu/options
- /createhouse - creates a house at location
- /addgarage - adds garage at location
- /ring - rings a doorbell at location
- /cash - displays current cash amount
- /bank - displays current bank amount
- /dev - displays a dev icon
- /resetinv - resets inventory on stash/trunk/glovebox
- /rob - robs closest player
- /giveitem - gives item to a player
- /randomitems - gives random items to a player
- /cancelrace - cancel the current race
- /togglesetup - turn on or off race setup
- /setvehiclestatus - sets the vehicles status
- /setmechanic - give someone the mechanic job
- /firemechanic - fire a mechanic
- /logout - logout of current character
- /closeNUI - closes the multicharacter NUI
- /newscam - gives player a a news camra
- /newsmic - gives player a news microphone
- /newsbmic - gives player a boom microphone
- /setmetadata - sets the players metadata
- /bill - sends a bill* /invoice to player
- /getintrunk - Gets in the trunk
- /putintrunk - puts a player in the trunk (kidnap)
- /resetarmor - resets the armor
- /resetparachute - resets a parachute
- /testwebhook - test to see if webhook for logs is working
- /id - displays your id
- /createrace - starts a street race
- /stoprace - stops current street race
- /quitrace - quits the current street race
- /startrace - starts the current street race
- /npc - Toggles a tow job from a npc
- /tow - puts closes vehicle on flatbed (must be behind truck)
- /multikeys - gives keys to another player
- /fix - fixes current vehicle
- /engine - toggles engine on/off
- /givekeys - gives keys to a player
- /addkeys - adds keys to that player
- /removekeys - removes keys from player
- /transferVehicle - gift or sell your vehicle to someone
- /repairweapon - repairs a weapon
Last modified 7mo ago