GET_FRAME_COUNT
Returns the number of frames rendered since the game started.
Signature
int GET_FRAME_COUNT(); // 0x77DFA958FCF100C1 b1207Parameters
This native takes no parameters.
Facts
| Name | GET_FRAME_COUNT |
|---|---|
| Hash | 0x77DFA958FCF100C1 |
| 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(0x77DFA958FCF100C1, -- GET_FRAME_COUNT
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x77DFA958FCF100C1", // GET_FRAME_COUNT
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x77DFA958FCF100C1); // GET_FRAME_COUNTRelated MISC natives
- GET_FRAME_TIME
- GET_SCRIPT_TIME_WITHIN_FRAME_IN_MICROSECONDS
- GET_ANGLE_BETWEEN_2D_VECTORS
- GET_BENCHMARK_ITERATIONS
- GET_BENCHMARK_PASS
- GET_BITS_IN_RANGE
- GET_CLOSEST_POINT_ON_LINE
- GET_COORDS_OF_PROJECTILE_TYPE_WITHIN_DISTANCE
- GET_CURR_WEATHER_STATE
- GET_DISTANCE_BETWEEN_COORDS
- GET_GAME_TIMER
- GET_GROUND_Z_AND_NORMAL_FOR_3D_COORD
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.