isScriptedScenarioPedUsingConditionalAnim
IS_SCRIPTED_SCENARIO_PED_USING_CONDITIONAL_ANIM0x6EC47A344923E1EDThe GTA V native IS_SCRIPTED_SCENARIO_PED_USING_CONDITIONAL_ANIM of the PED namespace, as LS:MP client scripts call it: the global function isScriptedScenarioPedUsingConditionalAnim, in JavaScript and in Lua.
isScriptedScenarioPedUsingConditionalAnim(
ped: Ped,
animDict: string,
anim: string
): booleanisScriptedScenarioPedUsingConditionalAnim(
ped: Ped,
animDict: string,
anim: string
): booleanUsage
JavaScript
const result = isScriptedScenarioPedUsingConditionalAnim(ped, animDict, anim);Lua
local result = isScriptedScenarioPedUsingConditionalAnim(ped, animDict, anim)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
animDict | string | string | string |
anim | string | string | string |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json
Reference
- Namespace
- Ped PED
- In the game
BOOL IS_SCRIPTED_SCENARIO_PED_USING_CONDITIONAL_ANIM(Ped ped, const char* animDict, const char* anim)- Hash
0x6EC47A344923E1ED