GetEntityScript — FiveM Natives
0xA6E9C38DB51D7748 · ENTITY · all
`` 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. ``
Parameters
| Name | Type |
|---|---|
| entity | Entity |
| script | ScrHandle* |
Returns
char*