Console commands

List of clientside commands which can be useful to develop your server or debug resource issues. Additional commands may be added by resources; these are just the standard FiveM commands.

These commands can be used with the client console, which you can open by pressing F8. You can also install additional tools if preferred, like VConsole2. This allows you to use the client console outside of the game.


The cmdlist command will list all the commands that are registered on the client (or server). It will also output the variables that have been set by using the set, sets and seta commands.


You can use the connect to connect to a server using a given IP address and port.

Usage: connect <ip:port>

Example: connect


Enables some additional logging for developers. Typically not of use to a regular user.

Usage: developer <true|false>


disconnect will disconnect you from the current server you are connected to and return to the main menu.


Used internally, to test some experimental features. Not of use to a regular user.


An alias for loadlevel, see the loadlevel command for details.


Lists all the aces (access control entries) in the console. It creates a list of the relationship between an principal and object and if they're allowed or not allowed to use it. Example output:

builtin.everyone -> command.freecam = ALLOW
group.admin -> command.testbed = DENY
<rest of the aces...>


Lists all the principals in the system, it will print out a list of which principals are inherited by others. Example output:

identifier.steam:110000111111111 <- group.admin
identifier.steam:110000111111112 <- group.moderator
<child> <- <parent>

On the left is the child node that belongs to the parent node on the right side.


Loads a level (or commonly known as a map) from the name supplied.

Usage: loadlevel <level_name>


Allows you to load in TXDs and drawables via an graphical interface.

Usage: modelviewer <true|false>


A configuration flag to tell the client how many packets it should send at minimum per second.

The default value is 50, minimum is 1 and maximum is 200 per second.

Usage: net_maxPackets <number_of_packets>


Internal dev tool. Not of use to a regular user.


The net_statsFile is a command to store the metrics of the network usage/behaviour of the FiveM client.

It should keep track of metrics like ping, received packets and bytes, sent packets and bytes and the amount of routing packages. All this information will be stored in a file, using a CSV format.

Usage: net_statsFile <file_name>

Example: net_statsFile metrics.csv - this will create a CSV file called metrics.csv in your FiveM application data directory.


The cl_drawfps command will show reliably the frames per second. Usage: cl_drawfps <true|false>


The netgraph command will give you real time metrics about the FiveM client network usage. The netgraph consists of a graph and basic information about the network:

Field Name Description
ping How long it takes to get a response from the server (round trip time)
in How many packets we received per second.
in (bytes) How many bytes we received per second.
out How much packets we have sent per second.
out (bytes) How much bytes we have sent per second.
rt How many routing packets we have received.
rd How many routing packets we have sent.

The graph represents how many packets have been sent or received.

Usage: netgraph <true|false>


Shows a list of current nodes being synchronized over the network, when OneSync is enabled.

Usage: netobjviewer <true|false>


Running the quit command will force the FiveM client to close immediately.


Internal dev tool. Not of use to a regular user, and can not be toggled at runtime.


The resmon command will open the resource monitor. The resource monitor monitors the CPU usage and memory usage for each resource and shows this in a nice overview. Comes in handy when you encounter performance issues during gameplay.

Usage: resmon <true|false>


Saves cache data for a specified resource to the CitizenFX directory in AppData. This is to be used for resources with a significant amount of collision or map files, to speed up initial loading for players.

Usage: save_gta_cache <resource name>


The se_debug command enables verbose logging for security features (like the ACL).

Usage: se_debug <true|false>

Useful to see why some people do or don't have access to certain commands, example output:

TEST ACL [system.console -> command.resmon] ACE [system.console command] -> ALLOW
TEST ACL [system.console -> command.resmon] -> ALLOW


Set a variable on the client.

Usage: set <key> <value>


set animal snail

  "animal" is "snail"
  default: ""
  type: string


Set an archived variable on the client. Currently, archiving is not implemented.

Usage: seta <key> <value>


seta food escargot

  "food" is "escargot"
  default: ""
  type: string


strdbg can be used to see what is currently being loaded in the GTA streamer, to potentially spot any issues with streaming certain items, for example when the world stops loading.

Usage: strdbg <true|false>


strlist is a graphical interface showing the entries registered in the GTA streamer, and their current status.

Usage strlist <true|false>


Tests if a principal is allowed or denied access to a given object.

Usage: test_ace <principal> <object>

Example: test_ace group.admin command.adminstuff

Last modified January 8, 2020: added cl_drawfps command (3d99ade)