The Lab
COMPENDIUM native

COMPENDIUM_FISH_GET_LURE_SUITABILITY_BY_STAT_ITEM

returns int2 paramsbuild 1207

Returns a rating of how suitable the bait baitType is for the fish species animalType.

Signature

C
int COMPENDIUM_FISH_GET_LURE_SUITABILITY_BY_STAT_ITEM(Hash animalType, Hash baitType); // 0x725D52F21A5E9E81 b1207

Parameters

#NameType
1animalTypeHash
2baitTypeHash

Facts

Facts about COMPENDIUM_FISH_GET_LURE_SUITABILITY_BY_STAT_ITEM
Name
COMPENDIUM_FISH_GET_LURE_SUITABILITY_BY_STAT_ITEM
Hash
0x725D52F21A5E9E81
Namespace
Returns
int
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(0x725D52F21A5E9E81, -- COMPENDIUM_FISH_GET_LURE_SUITABILITY_BY_STAT_ITEM
  GetHashKey("name"), -- Hash animalType
  GetHashKey("name"), -- Hash baitType
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x725D52F21A5E9E81", // COMPENDIUM_FISH_GET_LURE_SUITABILITY_BY_STAT_ITEM
  GetHashKey("name"), // Hash animalType
  GetHashKey("name"), // Hash baitType
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x725D52F21A5E9E81, // COMPENDIUM_FISH_GET_LURE_SUITABILITY_BY_STAT_ITEM
  (uint)API.GetHashKey("name"), // Hash animalType
  (uint)API.GetHashKey("name") // Hash baitType
);
All COMPENDIUM natives

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