But when does it? I have a test map where I start in FFA, choose a team (I have to, cant start as a FreeForAll
Or is there another way to let the script know whether that level was started as FFA or TDM?
Moderator: Moderators
Code: Select all
game_check:
wait 20
iprintln "Game is: " (getcvar g_gametypestring) // text
iprintln "Game type: " (getcvar g_gametype) // number
end
Code: Select all
if(getcvar g_gametype == "1")
{
//FFA
iprintln "we got us a FFA here billy!"
}
else
{
iprintln "aw shucks...."
}