cont = GameLogic.getCurrentController()
own = cont.getOwner()
up = cont.getSensor("uproll")
down = cont.getSensor("downroll")
if up.isPositive() and own.gun = "unarmed":
own.gun = "pistol"
if up.isPositive() and own.gun = "pistol":
own.gun = "shotgun"
if up.isPositive() and own.gun = "shotgun":
own.gun = "unarmed"
if down.isPositive() and own.gun = "unarmed":
own.gun = "shotgun"
if down.isPositive() and own.gun = "shotgun":
own.gun = "pistol"
if down.isPositive() and own.gun = "pistol":
own.gun = "unarmed"
it keeps having a error it says
blender has caused an error in PYTHON23.DLL
blender will now closeif you continue to have problems
please restart your computer