i made a camera code everything works but the camera tilts left/right. you can control it with w,a,s,d and the mouse
here's the code
make camera 1
SET CURRENT CAMERA 1
SET CAMERA RANGE 1, 1, 6000
do
if keystate(17)=1
MOVE CAMERA 1, 1
endif
if keystate(31)=1
MOVE CAMERA 1, -1
endif
if shiftkey()=1
pitch camera up 90
move camera 1, 1
pitch camera down 90
endIf
if controlkey()=1
pitch camera up 90
move camera 1, -1
pitch camera down 90
endIf
if keystate(30)=1
TURN CAMERA LEFT 90
move camera 1, 1
TURN CAMERA RIGHT 90
endif
if keystate(32)=1
TURN CAMERA LEFT 90
move camera 1, -1
TURN CAMERA RIGHT 90
endif
y#=mousemovey()/3 : x#=mousemovex()/3
turn camera right 1, x#
pitch camera down 1, y#
loop
hope you guys can help me