Game code
TASK::TASK_SWAP_FISHING_BAIT
0x58D8DD25D3D753CF ·RVA 0x044C8720
Signature
void TASK_SWAP_FISHING_BAIT(Ped ped, int p1, Hash64 bait);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | int | p1 |
– |
| 2 | Hash64 | bait |
RDR3 takes a string; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p1 is not in RDR3's signature; the game reads it as a 32-bit integer.
- withoutBuoy, in RDR3's signature, is not passed in GTA VI.
Call it
// TASK::TASK_SWAP_FISHING_BAIT
invoke<Void>(0x58D8DD25D3D753CF, ped, p1, bait);// TASK::TASK_SWAP_FISHING_BAIT
Function.Call((Hash)0x58D8DD25D3D753CF, ped, p1, bait);-- TASK::TASK_SWAP_FISHING_BAIT
Citizen.InvokeNative(0x58D8DD25D3D753CF, ped, p1, bait)// TASK::TASK_SWAP_FISHING_BAIT
Citizen.invokeNative("0x58D8DD25D3D753CF", ped, p1, bait);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.