SET_PED_USING_ACTION_MODE
Puts ped into or out of action mode, optionally with the movement set action.
Signature
void SET_PED_USING_ACTION_MODE(Ped ped, BOOL bActionModeEnabled, int p2, const char* action); // 0xD75ACCF5E0FB5367 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | bActionModeEnabled | BOOL |
| 3 | p2 | int |
| 4 | action | const char* |
Facts
| Name | SET_PED_USING_ACTION_MODE |
|---|---|
| Hash | 0xD75ACCF5E0FB5367 |
| 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(0xD75ACCF5E0FB5367, -- SET_PED_USING_ACTION_MODE
PlayerPedId(), -- Ped ped
false, -- BOOL bActionModeEnabled
0, -- int p2
"text" -- const char* action
)Citizen.invokeNative("0xD75ACCF5E0FB5367", // SET_PED_USING_ACTION_MODE
PlayerPedId(), // Ped ped
false, // BOOL bActionModeEnabled
0, // int p2
"text" // const char* action
);Function.Call((Hash)0xD75ACCF5E0FB5367, // SET_PED_USING_ACTION_MODE
API.PlayerPedId(), // Ped ped
false, // BOOL bActionModeEnabled
0, // int p2
"text" // const char* action
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.