RedM Natives

SET_PLAYER_NOISE_MULTIPLIER

Hash0xB5EC6BDAEBCA454C
Runtime nameSetPlayerNoiseMultiplier
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xDB89EF50FF25FCE9

Signature

void SET_PLAYER_NOISE_MULTIPLIER(Player player, float multiplier);

Parameters

NameTypeDescription
playerPlayer—
multiplierfloat—

Returns void

Usage

Lua
SetPlayerNoiseMultiplier(player, multiplier)

-- always works, by hash
Citizen.InvokeNative(0xB5EC6BDAEBCA454C, player, multiplier)
JavaScript and C#
JavaScript
SetPlayerNoiseMultiplier(player, multiplier);

// by hash
Citizen.invokeNative('0xB5EC6BDAEBCA454C', player, multiplier + 0.0000001);
C#
Function.Call((Hash)0xB5EC6BDAEBCA454C, player, multiplier);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.

Sources

alloc8or RDR3 NativeDB

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