RedM Natives

GET_SPECIES_TUNING_FLOAT_PARAM

Hash0xE108489621422F91
Runtime nameGetSpeciesTuningFloatParam
NamespaceFLOCK
SideClient
NameOfficial
Docs
Since build1207

Signature

float GET_SPECIES_TUNING_FLOAT_PARAM(Hash p0, int p1, int p2);

Parameters

NameTypeDescription
p0Hash—
p1int—
p2int—

Returns float

Usage

Lua
local retval = GetSpeciesTuningFloatParam(p0, p1, p2)

-- always works, by hash
local retval = Citizen.InvokeNative(0xE108489621422F91, p0, p1, p2, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetSpeciesTuningFloatParam(p0, p1, p2);

// by hash
const retval = Citizen.invokeNative('0xE108489621422F91', p0, p1, p2, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0xE108489621422F91, p0, p1, p2);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.

See also

Sources

alloc8or RDR3 NativeDB

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