21.03.2012, 05:08
Straight to the point. I have an 'extra seat' script so players can enter full vehicles. If they press G they spectate the vehicle. When they press ENTER (exit key) they re-spawn behind the vehicle. What I want is so if you press G in front of the vehicle, when you exit you spawn in-front of it again. If I press it next to the driver's door, when I exit I want to appear there, even if the vehicle has moved and turned. In relation to the vehicle's position and angle.
Could someone show me how please? Thank you. Remember, it needs to be in relation to the vehicle, not the map's X/Y/Z axis.
Could someone show me how please? Thank you. Remember, it needs to be in relation to the vehicle, not the map's X/Y/Z axis.