TIMESTEP
Gets the current frame time.
Hash
0x0000000050597EE2Runtime name
TimestepNamespaceBUILTIN
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x0000000050597EE2Signature
float TIMESTEP();Returns float
Description
Gets the current frame time.
Usage
local retval = Timestep()
-- always works, by hash
local retval = Citizen.InvokeNative(0x0000000050597EE2, Citizen.ResultAsFloat())JavaScript and C#
const retval = Timestep();
// by hash
const retval = Citizen.invokeNative('0x0000000050597EE2', Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x0000000050597EE2);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.