Careful about using the Turn and Pitch commands, it always rotates by the camera's orientation, which means if it's tilted to its side, all turning and pitching will be tilted to the side. The turn and pitch methods work great for games like Descent and Star Wraith, but if you're trying to do a first person shooter try this:
do
rotate_speed#=10
y#=camera angle y()
x#=camera angle x()
if leftkey()=1 then yrotate camera wrapvalue(y#-rotate_speed#)
if rightkey()=1 then yrotate camera wrapvalue(y#+rotate_speed#)
if upkey()=1 then xrotate camera wrapvalue(x#-rotate_speed#)
if downkey()=1 then xrotate camera wrapvalue(x#+rotatedspeed#)
loop
good luck,
Crazy Donut Productions
Juvenile Industries
Current Project: KillZone(FPS)
Soon to come:An rts, and a snowball fight game