forceEntityAiAndAnimationUpdate
FORCE_ENTITY_AI_AND_ANIMATION_UPDATE0x40FDEDB72F8293B2The GTA V native FORCE_ENTITY_AI_AND_ANIMATION_UPDATE of the ENTITY namespace, as LS:MP client scripts call it: the global function forceEntityAiAndAnimationUpdate, in JavaScript and in Lua.
forceEntityAiAndAnimationUpdate(entity: Entity): voidforceEntityAiAndAnimationUpdate(entity: Entity)Usage
JavaScript
forceEntityAiAndAnimationUpdate(entity);Lua
forceEntityAiAndAnimationUpdate(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
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.
Based on carmod_shop script decompile this takes a vehicle parameter. It is called when repair is done on initial enter.
Reference
- Namespace
- Entity ENTITY
- In the game
void FORCE_ENTITY_AI_AND_ANIMATION_UPDATE(Entity entity)- Hash
0x40FDEDB72F8293B2