RedM Natives

GET_STATE_OF_RAYFIRE_MAP_OBJECT

Hash0x899BA936634A322E
Runtime nameGetStateOfRayfireMapObject
NamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x899BA936634A322E

Signature

int GET_STATE_OF_RAYFIRE_MAP_OBJECT(Object object);

Parameters

NameTypeDescription
objectObject—

Returns int

Usage

Lua
local retval = GetStateOfRayfireMapObject(object)

-- always works, by hash
local retval = Citizen.InvokeNative(0x899BA936634A322E, object, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetStateOfRayfireMapObject(object);

// by hash
const retval = Citizen.invokeNative('0x899BA936634A322E', object, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x899BA936634A322E, object);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.