_GET_LOOTING_EVENT_HAS_FIRED
Event names in the scripts: MGBegin, MGEnd, ReadyForCut
Hash
0xF9B91C5129EABC08Runtime name
GetLootingEventHasFiredNamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _GET_LOOTING_EVENT_HAS_FIRED(Ped ped, const char* eventName);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
eventName | const char* | — |
Returns BOOL
Description
Event names in the scripts: MGBegin, MGEnd, ReadyForCut
Usage
local retval = GetLootingEventHasFired(ped, eventName)
-- always works, by hash
local retval = Citizen.InvokeNative(0xF9B91C5129EABC08, ped, eventName, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetLootingEventHasFired(ped, eventName);
// by hash
const retval = Citizen.invokeNative('0xF9B91C5129EABC08', ped, eventName, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xF9B91C5129EABC08, ped, eventName);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.