GET_SPECIES_TUNING_FLOAT_PARAM
Hash
0xE108489621422F91Runtime name
GetSpeciesTuningFloatParamNamespaceFLOCK
SideClient
NameOfficial
Docs
Since build1207
Signature
float GET_SPECIES_TUNING_FLOAT_PARAM(Hash p0, int p1, int p2);Parameters
| Name | Type | Description |
|---|---|---|
p0 | Hash | — |
p1 | int | — |
p2 | int | — |
Returns float
Usage
local retval = GetSpeciesTuningFloatParam(p0, p1, p2)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE108489621422F91, p0, p1, p2, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetSpeciesTuningFloatParam(p0, p1, p2);
// by hash
const retval = Citizen.invokeNative('0xE108489621422F91', p0, p1, p2, Citizen.returnResultAnyway(), Citizen.resultAsFloat());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.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.