GetStateOfRayfireMapObject — FiveM Natives
0x899BA936634A322E · OBJECT · all
See SET_STATE_OF_RAYFIRE_MAP_OBJECT to see the different states Get a destructible object's state. Substract 1 to get the real state. For example, if the object just spawned (state 2), the native will return 3.
Parameters
| Name | Type |
|---|---|
| object | Object |
Returns
int