Native referenceFiveM

GET_ENTITY_SCRIPT

0xA6E9C38DB51D7748 ENTITY
FUNCTION SIGNATURE
char* GET_ENTITY_SCRIPT(Entity entity, ScrHandle* script);
Property Value
Native Name GET_ENTITY_SCRIPT
Hash 0xA6E9C38DB51D7748
Return Type char*
Parameters entity (Entity), script (ScrHandle*)

Description: ``` All ambient entities in-world seem to have the same value for the second argument (Any *script), depending on when the scripthook was activated/re-activated. I've seen numbers from ~5 to almost 70 when the value was translated with to_string. The function return value seems to always be 0.

Back to ENTITY