I'd like to also say that the game mode was AUF. But how it gives weapons is no different than gun game or arsenal. I haven't tested it with 4.2.
def GivePlayerWeapons( self, player ):
if not player or player.IsDead():
return
player.StripAllWeapons()
startArmed = int( GEUtil.GetCVarValue( "ge_startarmed" ) )
if startArmed == 0:
player.GiveNamedWeapon( "weapon_slappers", 0 )
else:
player.GiveNamedWeapon( "weapon_slappers", 0 )
player.GiveNamedWeapon( "weapon_knife", 0 )
if player.GetTeamNumber() == GEGlobal.TEAM_MI6:
weap = mi6WeaponList[self.MI6Level]
player.GiveNamedWeapon( weap[0], weap[2] )
player.WeaponSwitch( weap[0] )
elif player.GetTeamNumber() == GEGlobal.TEAM_JANUS:
weap = janusWeaponList[self.JanusLevel]
player.GiveNamedWeapon( weap[0], weap[2] )
player.WeaponSwitch( weap[0] )