Hi,
How to differentiate the game to warm up and the real game?
I would like to write a LUA script and the script do not run in Warm Up.
Hi,
How to differentiate the game to warm up and the real game?
I would like to write a LUA script and the script do not run in Warm Up.
You can check the gamestate (warmup, in match, intermission) with
gamestate = tonumber(et.trap_Cvar_Get( "gamestate" ))
You are able to check gamestate now:
if gamestate == 0 then
Not sure if this was your question. 