RedM Natives

COMPENDIUM_GET_STUDY_AWARD_ID

Hash0x9F678782720349E4
Runtime nameCompendiumGetStudyAwardId
NamespaceCOMPENDIUM
SideClient
NameOfficial
Docs
Since build1311

Signature

Any COMPENDIUM_GET_STUDY_AWARD_ID(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Any

Usage

Lua
local retval = CompendiumGetStudyAwardId(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9F678782720349E4, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = CompendiumGetStudyAwardId(ped);

// by hash
const retval = Citizen.invokeNative('0x9F678782720349E4', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x9F678782720349E4, ped);

Sources

alloc8or RDR3 NativeDB

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