mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-18 22:57:57 -05:00
30 lines
589 B
Plaintext
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" ) );
|
|
}
|
|
}
|