Game codeUnofficial name
TASK::_SET_FISHING_BAIT
0x9C1989D664F3805F ·RVA 0x04A8F470
Signature
void _SET_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.
- instantly, in RDR3's signature, is not passed in GTA VI.
- The scripts read a result cell, but the game writes nothing there.
Call it
// TASK::_SET_FISHING_BAIT
invoke<Void>(0x9C1989D664F3805F, ped, p1, bait);// TASK::_SET_FISHING_BAIT
Function.Call((Hash)0x9C1989D664F3805F, ped, p1, bait);-- TASK::_SET_FISHING_BAIT
Citizen.InvokeNative(0x9C1989D664F3805F, ped, p1, bait)// TASK::_SET_FISHING_BAIT
Citizen.invokeNative("0x9C1989D664F3805F", 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.