Make player unable to melee peds with a weapon
I'm trying to make the player unable to melee with a weapon peds, I found the SET_PED_CAN_BE_TARGETTED but the player can't melee with melee weapons, any native that does that?
A solution would be to call SET_PED_CAN_BE_TARGETTED on all ped when the player have a weapon other than a melee weapon.
Another question, can I make ped invisible by player with thermal vision?
Thank you for you answer have a nice day.