Code: Select all
if(
!countinv("Infrared")&&
!countinv("PowerInvulnerable")&&
(!countinv("PowerLightAmpP")||player.readyweapon.getclass()=="HDPistol")&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_RELOAD)&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_ZOOM)&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_USER1)&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_USER2)&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_USER3)&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_USER4)&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_SPEED)&&
!(getplayerinput(MODINPUT_BUTTONS)&&BT_JUMP)&&
player.readyweapon.instatesequence(
player.readyweapon.curstate,player.readyweapon.resolvestate("Ready"))&&
abs(getplayerinput(MODINPUT_YAW))<4096 &&
80<getcvar(fov)<120
)...1. "Cannot access userinfo CVARs directly. Use GetCVar() instead." wrt the line where I have "getcvar(fov)" (the exact same error appears if I just use "fov" there)
2. "Unknown class name 'HDPistol' of type 'Weapon'" even though HDPistol is a valid class that inherits from Weapon (no error if I replace this with 'self.getclass()=="HDPlayerPawn"')
Are these bugs or am I missing something?

