WEAPONS ALMOST SPAWN!

I'm just getting a "AttributeError: 'int' object has no attribute
'WEAPON_TYPES'" error. Need Assistance.