Commands
All commands can be renamed in cfg.lua — the names documented below are the defaults.
Client Commands
/nitrobar
/nitrobarToggles the nitrous HUD bar on/off for the vehicle the player is currently driving.
Config key: cfg.general.nitrous.commands.nitrobar (default: "nitrobar")
Usage: /nitrobar
Preconditions
Player must be in a vehicle.
nitrobar_not_in_vehicle
Vehicle must have nitrous installed.
nitrobar_no_nitro
/move_nitrobar
/move_nitrobarEnters drag mode so the player can reposition the nitrous HUD bar on their screen.
Config key: cfg.general.nitrous.commands.move_nitrobars (default: "move_nitrobar")
Usage: /move_nitrobar
Preconditions
Player must be in a vehicle.
nitrobar_not_in_vehicle
Vehicle must have nitrous installed.
nitrobar_no_nitro
/reset_nitrobar
/reset_nitrobarResets the nitrous HUD bar to its default screen position.
Config key: cfg.general.nitrous.commands.reset_nitrobars (default: "reset_nitrobar")
Usage: /reset_nitrobar
Server Commands
/givenitro
/givenitroAdmin command. Adds nitrous tanks to the target player's current vehicle.
Config key: cfg.givenitroCommand (default: "givenitro")
Usage: /givenitro [playerid] [count]
Parameters
playerid
number
Yes
Target player's server ID.
count
number
No
Number of tanks to add. Defaults to 1 if omitted.
Authorization
Allowed if either of the following is true:
The caller has the
commandACE permission, orOne of the caller's identifiers is listed in
cfg.givenitroAlloweds(steam:,license:,license2:,fivem:).
Preconditions
Target player must be online.
givenitro_player_not_online
Target player must be inside a vehicle.
givenitro_player_not_in_vehicle
Behavior
Adds the requested amount of nitrous tanks to the target vehicle, clamped to the vehicle's per-model maximum (cfg.general.nitrous.nitro_tanks). The caller receives a success notification.
Example
Gives 2 nitrous tanks to the player with server ID 12.
Last updated