The Lab
OBJECT native

SET_STATE_OF_RAYFIRE_MAP_OBJECT

returns void2 paramsbuild 1207

Sets the state of the rayfire map object, used to trigger scripted destruction sequences.

Signature

C
void SET_STATE_OF_RAYFIRE_MAP_OBJECT(Object object, int state); // 0x5C29F698D404C5E1 b1207

Parameters

#NameType
1objectObject
2stateint

Facts

Facts about SET_STATE_OF_RAYFIRE_MAP_OBJECT
Name
SET_STATE_OF_RAYFIRE_MAP_OBJECT
Hash
0x5C29F698D404C5E1
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x5C29F698D404C5E1, -- SET_STATE_OF_RAYFIRE_MAP_OBJECT
  0, -- Object object
  0 -- int state
)
JavaScript
Citizen.invokeNative("0x5C29F698D404C5E1", // SET_STATE_OF_RAYFIRE_MAP_OBJECT
  0, // Object object
  0 // int state
);
C#
Function.Call((Hash)0x5C29F698D404C5E1, // SET_STATE_OF_RAYFIRE_MAP_OBJECT
  0, // Object object
  0 // int state
);
All OBJECT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.