I was doing something like this.
In the main script every 0.05 second on a timeout I was making player.attr[4] the car image and player.attr[5] the angle. then in the gani every 0.05 seconds I was updating the images angle.
something like this.
PHP Code:
SCRIPT
function onPlayerEnters(){
onTimeout();
}
function onTimeout(){
with(findimg(1)){
attachtoowner = true;
image = player.attr[4];
rotation = player.attr[5];
}
settimer(0.05);
}
SCRIPTEND