QBCORE Escort only available if cuffed or dead : remove the need?

Trying to make it so that in my radial menu people are able to escort and put people in and out of vehicle without them having to be cuffed or dead.

Any help much appreciated

You’ll need to remove the metadata checks on ishandcuffed, isdead, and isinlaststand that exist in qb-policejob/client/interactions.lua, and qb-policejob/server/main.lua.

Alternatively, you can write a custom event if you don’t want to completely remove this behaviour, but by the looks of it you do.

1 Like

Thanks for the response ! I have tried as you suggested and the cuff function for police wouldn’t work, then added all jobs under the function to be able to do it and remove the call for cuffs and still doesn’t work. so trying to write my own script XD but I’m useless

I’d definitely stick with just modifying existing functionality. Feel free to provide the code you changed to.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.