Log In
Sign Up
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

#TypeNameNotes
0Pedped –
1intp1 –
2Hash64bait 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);

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.