Files
Recompilable-gscs-for-BO2-z…/patch_mp/maps/mp/teams/_teamset.gsc

30 lines
589 B
Plaintext

init()
{
if ( !isDefined( game[ "flagmodels" ] ) )
{
game[ "flagmodels" ] = [];
}
if ( !isDefined( game[ "carry_flagmodels" ] ) )
{
game[ "carry_flagmodels" ] = [];
}
if ( !isDefined( game[ "carry_icon" ] ) )
{
game[ "carry_icon" ] = [];
}
game[ "flagmodels" ][ "neutral" ] = "mp_flag_neutral";
}
customteam_init()
{
if ( getDvar( "g_customTeamName_Allies" ) != "" )
{
setdvar( "g_TeamName_Allies", getDvar( "g_customTeamName_Allies" ) );
}
if ( getDvar( "g_customTeamName_Axis" ) != "" )
{
setdvar( "g_TeamName_Axis", getDvar( "g_customTeamName_Axis" ) );
}
}