setThirdPersonCamRelativeHeadingLimitsThisUpdate
SET_THIRD_PERSON_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE0x8F993D26E0CA5E8EThe GTA V native SET_THIRD_PERSON_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE of the CAM namespace, as LS:MP client scripts call it: the global function setThirdPersonCamRelativeHeadingLimitsThisUpdate, in JavaScript and in Lua.
setThirdPersonCamRelativeHeadingLimitsThisUpdate(
minimum: number,
maximum: number
): voidsetThirdPersonCamRelativeHeadingLimitsThisUpdate(
minimum: number,
maximum: number
)Usage
JavaScript
setThirdPersonCamRelativeHeadingLimitsThisUpdate(minimum, maximum);Lua
setThirdPersonCamRelativeHeadingLimitsThisUpdate(minimum, maximum)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
minimum | float | number | number | Degrees between -180f and 180f. |
maximum | float | number | number | Degrees between -180f and 180f. |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Clamps the gameplay camera's current yaw.
Eg. setThirdPersonCamRelativeHeadingLimitsThisUpdate(0.0f, 0.0f) will set the horizontal angle directly behind the player.
Reference
- Namespace
- Camera CAM
- In the game
void SET_THIRD_PERSON_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE(float minimum, float maximum)- Hash
0x8F993D26E0CA5E8E- Formerly
_CLAMP_GAMEPLAY_CAM_YAW