The Lab
WEAPON native

_GET_WEAPON_SOOT

returns float1 parambuild 1207

Returns the soot level of the weapon object.

Signature

C
float _GET_WEAPON_SOOT(Object weaponObject); // 0x4BF66F8878F67663 b1207

Parameters

#NameType
1weaponObjectObject

Facts

Facts about _GET_WEAPON_SOOT
Name
_GET_WEAPON_SOOT
Hash
0x4BF66F8878F67663
Namespace
Returns
float
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0x4BF66F8878F67663, -- _GET_WEAPON_SOOT
  0, -- Object weaponObject
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x4BF66F8878F67663", // _GET_WEAPON_SOOT
  0, // Object weaponObject
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x4BF66F8878F67663, // _GET_WEAPON_SOOT
  0 // Object weaponObject
);
All WEAPON natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.