yeah.. but it doesn't determin if you put the pedal down or not, right? Thanks anyways guys.. I'll go with your suggestions..
Yes, it does. Read again. Use an engine eventhandler:
this addeventhandler ["engine",{if (_this select 1) then {[_this select 0] exec "script.sqs"}}]
script.sqs will be the script I showed, plus the defination of _car which is = _this select 0 (_car = _this select 0).