[C++ ScriptHookV] How to lock player's camera
-
Hello, in my script i need to freeze current camera position, how would i do that ?
so far i tried:
PED::_FREEZE_PED_CAMERA_ROTATION()
PLAYER::SET_PLAYER_LOCKON().I think i would need to make my own camera then lock it, how would i go about doing that ?
Any help will be appreciated, Thanks !
-
Use these natives:
CAM::CREATE_CAM_WITH_PARAMS
CAM::SET_CAM_ACTIVE
CAM::RENDER_SCRIPT_CAMS
CAM::SET_CAM_COORD
CAM::SET_CAM_ROT