Commands

List of console commands that can be used directly or bound to keys. 



Admin-only commands

ttt_roundrestart
Triggers the round to restart, will go immediately to a new round in the form of a new preparation phase. Requires GMod admin/superadmin status, or sv_cheats enabled.

ttt_print_traitors
Prints who are the traitors. Requires admin status, or RCON.

ttt_print_adminreport
Prints who killed who. Requires admin status/RCON.

ttt_print_usergroups
Prints everyone's usergroup, for debugging gmod admin status.

ttt_print_damagelog
First enable the convar ttt_log_damage_for_console (set to 1) to enable damage logging. Then use this command to print out the log of the current round. Note that this is a lot of data.

ttt_highlight_admins
Set to 0 to make admins not appear gold/yellow on the scoreboard.

General commands

ttt_version
Prints current version number.

ttt_dropweapon
Will drop your current weapon. By default the key that would open the GMod spawn menu (default Q) instead performs this action. You can manually bind it to other keys using this concommand.

ttt_equipswitch
Switches to slot 7 (your equipment weapon) if you have one. If you have that weapon out, it will instead switch to your previous weapon. So you can quickly toggle to your equipment and back. By default the noclip key (default V) will perform this command if sv_cheats is off (else it will noclip you).

ttt_quickslot [slot number]
Switches to the given weapon slot without having to use the scroll menu. Switches to previous weapon if you already have the slot's weapon out, so the ttt_equipswitch command is basically just "ttt_quickslot 7".

ttt_toggle_disguise
Toggles your Disguiser equipment if you have bought it as Traitor. Default key is Numpad Enter, this command can be used to rebind it.

ttt_spectate
Moves you onto the spectator team. You will not spawn as Terrorist until you use "ttt_spectate 0" to turn this off again. Recommended you use the checkbox in the settings menu under F1 instead.

ttt_print_playercount
Prints the number of players that were alive at the start of the round.

Debug commands

ttt_force_terror
Forces you to spawn as a Terrorist. Cheat.

ttt_force_traitor
Forces your role to traitor. Cheat.

ttt_force_detective
Forces your role to detective. Cheat.

ttt_cheat_credits
Gives you many equipment credits. Cheat.

Comments