Client Console
alt:V has a Client Console integrated which can be opened with the key "F8". It shows the output of clientside alt.log(), some additional informations and has an inputfield for commands, which can be accessed from a clientside script with the consoleCommand Event. But there are also some default Commands which are listed below, some of them need the debug mode of the client enabled.
If the console is opened the Game Controls are disabled, which can be checked with alt.gameControlsEnabled().
Default Commands
Command | Debug needed | Description |
---|---|---|
netgraph [0/1] | No | Shows a netgraph on the minimap for fps and network informations. |
quit | No | Closes the game. |
heap | No | Shows "Heap benchmark infos" in console. |
heapspaces | No | Shows "Heap spaces infos" in console. |
timers | No | Shows "Timers benchmark infos" in console. |
reconnect [password] | Yes | Reconnects to the same server, password is the server password and optional. |
external_console [0/1] | No | Open console in a extra window. |
voiceVolume [0-200] | No | Sets the output volume. |
voiceInputVolume [0-200] | No | Sets the input volume. |
js-module | No | Shows informations about the js module. |
debugvehs | No | Shows "Streamed in server vehicles info" in console. |
rmldebug | Yes | Shows RMLUI debug window |
connect [ip:port or url] [password?] | Yes | Connects to a server. |
clear | No | Clears the console. |