23.06.2015, 07:49
Stop using weird styling and just answer the question.
@OP:
Since the vehicle is not really streamed in, you won't get superaccurate results. However.. the trailers are all the same size, so if you can figure the size out, you can check it's position and angle and see if the player is at POS + (or - depending on the angle.. you can use GetXYInFrontOfPlayer for this I believe) SIZE_OF_VEHICLE. If this is close enough for you to the door, then do your stuff
@OP:
Since the vehicle is not really streamed in, you won't get superaccurate results. However.. the trailers are all the same size, so if you can figure the size out, you can check it's position and angle and see if the player is at POS + (or - depending on the angle.. you can use GetXYInFrontOfPlayer for this I believe) SIZE_OF_VEHICLE. If this is close enough for you to the door, then do your stuff