CameraClient

isCamPlayingAnim

IS_CAM_PLAYING_ANIM0xC90621D8A0CEECF2

The GTA V native IS_CAM_PLAYING_ANIM of the CAM namespace, as LS:MP client scripts call it: the global function isCamPlayingAnim, in JavaScript and in Lua.

SignatureJavaScript
isCamPlayingAnim(cam: Cam, animName: string, animDictionary: string): boolean
SignatureLua
isCamPlayingAnim(cam: Cam, animName: string, animDictionary: string): boolean

Usage

JavaScript
const result = isCamPlayingAnim(cam, animName, animDictionary);
Lua
local result = isCamPlayingAnim(cam, animName, animDictionary)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger
animNamestringstringstring
animDictionarystringstringstring

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Camera CAM
In the game
BOOL IS_CAM_PLAYING_ANIM(Cam cam, const char* animName, const char* animDictionary)
Hash
0xC90621D8A0CEECF2

Open in the interactive natives reference