Page 1 of 1

Warp player into an existing (scripted) car?

Posted: 17 Sep 2016, 14:15
by Rick
Hello folks! [respect]
Is it possible meanwhile to warp the player into any car?
I am looking for a solution for a longer time now.
May be memory adresses can help?

Re: Warp player into an existing (scripted) car?

Posted: 22 Sep 2016, 10:43
by Rick
To be more precise i want to spawn player peds into driving cars (if needed after death) like it's done with cop cars after you get arrested.
It should then be possible to delete the driver and make the player the driver..

Re: Warp player into an existing (scripted) car?

Posted: 22 Sep 2016, 10:59
by Sektor
I'll try to find the memory that needs changing but until then you can use TAKE_REMOTE_CONTROL_OF_CAR.

Re: Warp player into an existing (scripted) car?

Posted: 23 Sep 2016, 00:51
by Rick
Thank you very much Sektor!

Regarding TAKE_REMOTE_CONTROL_OF_CAR: I tried that but it seems not to work with cars that move.
I ended up with some kind of a camera bug.
I created a driver in a car to let it drive. When i took the remote control "switched" into the car but it seems like the screen freezes. I can hear the sounds, of the car and things. So it looks like the game goes on but you can`t see it anymore :-?