TASK_SWAP_FISHING_BAIT
Tasks ped to swap its fishing bait to bait.
Signature
void TASK_SWAP_FISHING_BAIT(Ped ped, const char* bait, BOOL withoutBuoy); // 0x2C28AC30A72722DA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | bait | const char* |
| 3 | withoutBuoy | BOOL |
Facts
| Name | TASK_SWAP_FISHING_BAIT |
|---|---|
| Hash | 0x2C28AC30A72722DA |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x2C28AC30A72722DA, -- TASK_SWAP_FISHING_BAIT
PlayerPedId(), -- Ped ped
"text", -- const char* bait
false -- BOOL withoutBuoy
)Citizen.invokeNative("0x2C28AC30A72722DA", // TASK_SWAP_FISHING_BAIT
PlayerPedId(), // Ped ped
"text", // const char* bait
false // BOOL withoutBuoy
);Function.Call((Hash)0x2C28AC30A72722DA, // TASK_SWAP_FISHING_BAIT
API.PlayerPedId(), // Ped ped
"text", // const char* bait
false // BOOL withoutBuoy
);Related TASK natives
- TASK_SWAP_WEAPON
- _GET_TASK_FISHING
- _SET_FISHING_BAIT
- _SET_TASK_FISHING
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
- TASK_SCRIPTED_ANIMATION
- TASK_SEEK_CLEAR_LOS_TO_ENTITY
- TASK_SEEK_COVER_FROM_PED
- TASK_SEEK_COVER_FROM_POS
- TASK_SEEK_COVER_TO_COORDS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.