Log in to reply
 

[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


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.