_STATSTRACKER_DEED_STATUS
Based on its name and signature, here is our best reading:
Reports the status of a deed (deedType, deedHash) to the stats tracker along with missionStatus and extra data.
Signature
void _STATSTRACKER_DEED_STATUS(int deedType, Hash deedHash, int missionStatus, Any* data); // 0xD5910ECF81A2278C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | deedType | int |
| 2 | deedHash | Hash |
| 3 | missionStatus | int |
| 4 | data | Any* (out pointer) |
Facts
| Name | _STATSTRACKER_DEED_STATUS |
|---|---|
| Hash | 0xD5910ECF81A2278C |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local data = Citizen.InvokeNative(0xD5910ECF81A2278C, -- _STATSTRACKER_DEED_STATUS
0, -- int deedType
GetHashKey("name"), -- Hash deedHash
0, -- int missionStatus
Citizen.PointerValueInt() -- Any* data
)
print(data)const data = Citizen.invokeNative("0xD5910ECF81A2278C", // _STATSTRACKER_DEED_STATUS
0, // int deedType
GetHashKey("name"), // Hash deedHash
0, // int missionStatus
Citizen.pointerValueInt() // Any* data
);
console.log(data)var dataArg = new OutputArgument();
Function.Call((Hash)0xD5910ECF81A2278C, // _STATSTRACKER_DEED_STATUS
0, // int deedType
(uint)API.GetHashKey("name"), // Hash deedHash
0, // int missionStatus
dataArg // Any* data
);
int data = dataArg.GetResult<int>();Related STATS natives
- STATSTRACKER_DEED_STARTED
- STAT_REGISTER_LEGENDARY_ANIMAL_DEED
- STATSTRACKER_IS_INITIALIZED
- _STAT_ADD_ANIMAL_SAMPLE_TARGET
- _STAT_CALCULATE_COOLDOWN
- _STAT_CARRIED_SATCHEL_ITEM_FROM_PED
- _STAT_DONATE_INCREMENT_ITEM
- _STAT_ID_DECREMENT_INT
- _STAT_ID_INCREMENT_FLOAT
- _STAT_ID_INCREMENT_INT
- _STAT_ITEM_FISH_CAUGHT
- _STAT_PHEROMONE_COOLDOWN_LEGENDARY_ANIMAL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.