Use custom cam to aim and set targets but need to avoid the auto-lock feature that we have when the player is unarmed
if we use in the tick player.character.task.clearall we avoid this, the problem is that i have tasks that must still when aim is down (TASK_PLAY_ANIM_SECONDARY_UPPER_BODY)
one solution is give an object to player, but then we need to avoid the aim animations and make sure that player have the object
one detail: i cant use mouse movements to set new camera angles because when player releases aim the game camera can have very different angle if compared to last custom cam angle.
also if someone knows how to use this method in all gta versions, it should fix my issue
it always set to 0, dont matter what kind of value we set on that, this is how it seems to be usd based on SCOCL:
|SET_GAME_CAM_PITCH( 10.00000000 );|