setCamControlsMiniMapHeading
SET_CAM_CONTROLS_MINI_MAP_HEADING0x661B5C8654ADD825The GTA V native SET_CAM_CONTROLS_MINI_MAP_HEADING of the CAM namespace, as LS:MP client scripts call it: the global function setCamControlsMiniMapHeading, in JavaScript and in Lua.
setCamControlsMiniMapHeading(cam: Cam, toggle: boolean): voidsetCamControlsMiniMapHeading(cam: Cam, toggle: boolean)Usage
JavaScript
setCamControlsMiniMapHeading(cam, toggle);Lua
setCamControlsMiniMapHeading(cam, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
toggle | BOOL | boolean | boolean |
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.
Rotates the radar to match the camera's Z rotation
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_CONTROLS_MINI_MAP_HEADING(Cam cam, BOOL toggle)- Hash
0x661B5C8654ADD825- Formerly
_SET_CAM_CONTROLS_RADAR_ROTATION