ShortWlf / fx-od-pub

fx od server public bug report repository
2 stars 0 forks source link

Shooting while Handcuff #2

Closed BigOgaming closed 2 years ago

BigOgaming commented 2 years ago

When you are handcuff you are still able to pull out your gun and shoot.

ShortWlf commented 2 years ago

added a check for if punching, into a false bool, " DisablePlayerFiring(ped, true) "

ShortWlf commented 2 years ago

using https://docs.fivem.net/docs/game-references/controls/ to get key number for letter " R "

ShortWlf commented 2 years ago

This has been fixed, another issue will be submitted separately for " running while tazed, cannot be tazed while handcuffed "

ShortWlf commented 2 years ago

fixed this issue, moving the disable functions from multiple locations to one source.