detachCam
DETACH_CAM0xA2FABBE87F4BAD82The GTA V native DETACH_CAM of the CAM namespace, as LS:MP client scripts call it: the global function detachCam, in JavaScript and in Lua.
detachCam(cam: Cam): voiddetachCam(cam: Cam)Usage
JavaScript
detachCam(cam);Lua
detachCam(cam)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void DETACH_CAM(Cam cam)- Hash
0xA2FABBE87F4BAD82