Hello all!
I hope someone can help me out here!
I am trying to stow an hogtied ped into a Prison Wagon (WAGONPRISON01X). I tried this task:
ped.Tasks.EnterVehicle(_wagon, 5, EnterVehicleFlags.WarpIn)
and it works but only if the ped is able to move (which makes sense). What I would like to accomplish is to be able to stow the hogtied ped I am carrying inside the wagon.
I lurked around on FiveM docs and found some other functions, all of them, since they are tasks, are working only if the ped is not incapacitated. I tried recreating the ped inside the wagon but even if I pass the model, it uses another random model and the effect is not the best ever.
Any hints?
Thank you!!!!