_GET_MAX_NUM_INSTRUCTIONS
Returns the maximum number of script instructions allowed per frame.
Signature
int _GET_MAX_NUM_INSTRUCTIONS(); // 0xC43CD2668B204419 b1207Parameters
This native takes no parameters.
Facts
| Name | _GET_MAX_NUM_INSTRUCTIONS |
|---|---|
| Hash | 0xC43CD2668B204419 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xC43CD2668B204419, -- _GET_MAX_NUM_INSTRUCTIONS
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xC43CD2668B204419", // _GET_MAX_NUM_INSTRUCTIONS
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xC43CD2668B204419); // _GET_MAX_NUM_INSTRUCTIONSRelated MISC natives
- _GET_NUMBER_OF_INSTRUCTIONS
- _GET_AI_PED_DOES_HAVE_EVENT_MEMORY
- _GET_EASING_CURVE_VALUE
- _GET_ENTITY_FROM_ITEM
- _GET_FORCED_WEATHER
- _GET_GAME_TIMER_NON_SCALED_CLIPPED
- _GET_GROUND_Z_AND_MATERIAL_FOR_3D_COORD
- _GET_ITEM_TYPE
- _GET_LOOTING_EVENT_HAS_FIRED
- _GET_NEXT_WEATHER_TYPE_HASH_NAME
- _GET_NUMBER_OF_BULLETS_IMPACTED_ENTITY
- _GET_NUMBER_OF_BULLETS_IN_AREA
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.