RedM Natives

SET_PLAYER_SNEAKING_NOISE_MULTIPLIER

Hash0x4DE44FA389DCA565
Runtime nameSetPlayerSneakingNoiseMultiplier
NamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xB2C1A29588A9F47C

Signature

void SET_PLAYER_SNEAKING_NOISE_MULTIPLIER(Player player, float multiplier);

Parameters

NameTypeDescription
playerPlayer—
multiplierfloat—

Returns void

Usage

Lua
SetPlayerSneakingNoiseMultiplier(player, multiplier)

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

// by hash
Citizen.invokeNative('0x4DE44FA389DCA565', player, multiplier + 0.0000001);
C#
Function.Call((Hash)0x4DE44FA389DCA565, 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.