qbcore-framework / qb-target

A better interaction system for FiveM
GNU General Public License v3.0
94 stars 240 forks source link

[SUPPORT] #145

Closed EpicFireR6 closed 2 years ago

EpicFireR6 commented 2 years ago

Problem: While cuffed, dead, or in last stand. You can still third eye and for example steal shoes and take hostage.

Wanted Outcome: Disable qb-target while cuffed, dead or in last stand

Current Point: I've tried putting DisableControlAction(0, 19, true) in the policejob/client/interactions and it's still not working. Noe bugs, errors or anything

BerkieBb commented 2 years ago

Just use the AllowTargeting export to disable qb-target for the current client

BerkieBb commented 2 years ago

qb-target uses keymapping so you can't disable it's controls