07.01.2017, 19:52
If you really want their corpse lying down in the vehicle, that's going to be pretty hard.
I'd just suggest for you to use something like
PutPlayerInVehicle(corpseid, vehicleid, 4); //Will put player in back of.. lets say ambulance.
TogglePlayerControllable(corpseid,0); //Then freeze them so that they cant leave the vehicle.
I'd say that will be the simplest way to go.
-----------------------------------------------------
If you are talking about corpses as in objects, attach the corpse object to the vehicle.
https://sampwiki.blast.hk/wiki/AttachObjectToVehicle
I'd just suggest for you to use something like
PutPlayerInVehicle(corpseid, vehicleid, 4); //Will put player in back of.. lets say ambulance.
TogglePlayerControllable(corpseid,0); //Then freeze them so that they cant leave the vehicle.
I'd say that will be the simplest way to go.
-----------------------------------------------------
If you are talking about corpses as in objects, attach the corpse object to the vehicle.
https://sampwiki.blast.hk/wiki/AttachObjectToVehicle