there was a little problem i fell through the floor like 5 time but i think it was because of the rest of my code so i used this
IF KEYSTATE(17)=1
XAngle#=OBJECT ANGLE X(1)
XROTATE OBJECT 1,0
MOVE OBJECT 1,.5
XROTATE OBJECT 1,XAngle#
ENDIF
IF KEYSTATE(31)=1
XAngle#=OBJECT ANGLE X(1)
XROTATE OBJECT 1,0
MOVE OBJECT 1,-.5
XROTATE OBJECT 1,XAngle#
ENDIF
if keystate(30)=1 then move object left 1,.3
if keystate(32)=1 then move object right 1,.3
this one is for w,s,a and d keys and it worked fine for me.
www.madninjas.co.nr we are mad and we are ninjas