Warp player into an existing (scripted) car?

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
Rick
Car Jacker
Car Jacker
Posts: 33
Joined: 29 Jan 2012, 18:56
GH nick: Sequential

Warp player into an existing (scripted) car?

Post 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?
Rick
Car Jacker
Car Jacker
Posts: 33
Joined: 29 Jan 2012, 18:56
GH nick: Sequential

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

Post 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..
User avatar
Sektor
Boss
Boss
Posts: 1423
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

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

Post by Sektor »

I'll try to find the memory that needs changing but until then you can use TAKE_REMOTE_CONTROL_OF_CAR.
Rick
Car Jacker
Car Jacker
Posts: 33
Joined: 29 Jan 2012, 18:56
GH nick: Sequential

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

Post 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 :-?
Post Reply