sc_setclassflags Command

Explore usage, syntax, and examples for the sc_setclassflags CS2 developer console command.

sc_setclassflags

CS2 Only

Command

sc_setclassflags

<Classname><Value>

Sets specific flags for an object class to change its behavior or properties at a low level.

<Classname>

The class name to apply the flags to.

<Value>

The flag value (0-255) to assign to the class.

sv_cheats Required

Yes

Client or Server Command

Unspecified

sc_setclassflags Generator

Command

sc_setclassflags

<Classname><Value>
0/2 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

sc_setclassflags Examples

Command

sc_setclassflags

4player

Sets the player class flags to 4.