I was editing the F18 script, and decided to make it have afterburners. I can it make so when you press spacebar, you go faster, but only in one direction. So if i face one way, i go fast forwards, but the other way i go fast backwards. How would i make it so you go faster the way your looking?
// spacebar!
function F18Vehicle::onTrigger(%this,%obj,%client)
{
%obj.setvelocity("5000 0 0"); //this
}