The Lab
COMPENDIUM native

COMPENDIUM_GET_STUDY_AWARD_ID

returns Any1 parambuild 1311

Based on its name and signature, here is our best reading:

Returns the award id granted for studying ped.

Signature

C
Any COMPENDIUM_GET_STUDY_AWARD_ID(Ped ped); // 0x9F678782720349E4 b1311

Parameters

#NameType
1pedPed

Facts

Facts about COMPENDIUM_GET_STUDY_AWARD_ID
Name
COMPENDIUM_GET_STUDY_AWARD_ID
Hash
0x9F678782720349E4
Namespace
Returns
Any
Game build
1311

Examples

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

Lua
local result = Citizen.InvokeNative(0x9F678782720349E4, -- COMPENDIUM_GET_STUDY_AWARD_ID
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x9F678782720349E4", // COMPENDIUM_GET_STUDY_AWARD_ID
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x9F678782720349E4, // COMPENDIUM_GET_STUDY_AWARD_ID
  API.PlayerPedId() // Ped ped
);
All COMPENDIUM natives

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