ENTITY
IS_ENTITY_STATIC
0x1218E6886D3D8327
Jenkins: 0x928E12E9
Signature
// ENTITY
BOOL IS_ENTITY_STATIC(Entity entity)
Parameters
| Type | Name |
|---|---|
| Entity | entity |
Return type BOOL
Build 323
Documentation
a static ped will not react to natives like "APPLY_FORCE_TO_ENTITY" or "SET_ENTITY_VELOCITY" and oftentimes will not react to task-natives like "TASK::TASK_COMBAT_PED". The only way I know of to make one of these peds react is to ragdoll them (or sometimes to use CLEAR_PED_TASKS_IMMEDIATELY(). Static peds include almost all far-away peds, beach-combers, peds in certain scenarios, peds crossing a crosswalk, peds walking to get back into their cars, and others. If anyone knows how to make a ped non-static without ragdolling them, please edit this with the solution. how can I make an entity static???
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.