I love it when I come in with a random script that people won't ever try to implement... This includes the so said to exist 'scancodekeypressed' appearently implemented in version 1.03.
use on a character entity named "car" (exact case)
:state=0:state=1
::plrmoveto=car
:state=1,scancodekeypressed=30:rotatey=-5
:state=1,scancodekeypressed=32:rotatey=5
:state=1,scancodekeypressed=17:movefore=5
:state=1,scancodekeypressed=21:movefore=-5
for the best effect increase speed to 250.
Note: You might need a 'coloff' to get it to work, but that would allow the player to travel between walls, possible collision detection needed (raycasting).
Note: I only tested this in V1.0 using ::plrmoveifused and adding an ifused value into the entity, not sure if the moveto works, but it should.
of course if the scancodekeypressed doesn't work it would look like this
:state=0
Some Hud Code [left])
:state=0
Some Hud Code [right])
:state=0:state=1
::plrmoveto=car
:state=1:hudshow=left,hudhide=right,state=2
:state=2,plrusingaction=1:rotatey=-5
:state=2,plrusingaction=0:movefore=5
:state=2,random=15:hudshow=right,hudhide=left,state=3
:state=3,plrusingaction=1:rotatey=5
:state=3,plrusingaction=0:movefore=5
:state=3,random=15:state=1
and yes, the gun is still stuck on the player...
Wisemen are hard to find, they are tarnished by sayings and quotes that are not of their true nature.