Skip to content

ConVars

Alf Müller edited this page Apr 22, 2018 · 1 revision

ConVars are made to dynamically change the settings of the server: So you should add these ConVars (with modified names!) to your custom class addon

ConVars

CreateConVar("ttt_customclasses_enabled", "1") [SHARED]

This can be used to enable/disable the class selection.


CreateConVar("ttt2_classes_shooter_enabled", "1") [SHARED]

should be "ttt2_classes_" .. name .. "_enabled". This can be used to enable/disable a specific class.

This will be automatically initialized

Clone this wiki locally