Derma label corresponding to variable TTT

Hi.

I have tried a couple times but can’t seem to figure out how to make a DLabel correspond to what a convar is set to.

I want a label to say Spectator if the player is in spectator, and playing if they are not in spectator.

Any help much appreciated.

If any other information is needed, what I am wanting to do is have a checkbox and a label that tells if you if you are in spectator or not, and if you are the checkbox will be checked.

Thanks