cvar to know if !lock command enabled ?


(ETdemin) #1

hello

is there a cvar to check if !lock enabled ?

thank


(Mateos) #2

Hello,

Found this in CFGs:
seta g_lms_lockTeams “0”

But there may be other cvars…

Using Google:
lock -> Command for locking your team, so other player’s cannot join.
speclock
specunlock
specinvite

Link:

Learn to search before asking :wink:


(phisherman) #3

[QUOTE=ETdemin;402062]is there a cvar to check if !lock enabled ?[/QUOTE]Post the mod you are using when asking mod-related questions…
Other than that, not afaik.
But I think !listteams shows a little L for locked or U for unlocked (at least in NQ), so with a little scripting it might be possible to create such a cvar yourself, but I’ve never tried.


(Mateos) #4

And the simple /lock in console doesn’t give its current value?


(ETdemin) #5

sorry is PUB 9.1

I ask because I try to check that with lua but all cvar give 0

thank