TASK
TASK_ARREST_PED
0xF3B9A78A178572B1
Jenkins: 0xBC0F153D
Signature
// TASK
void TASK_ARREST_PED(Ped ped, Ped target)
Parameters
| Type | Name |
|---|---|
| Ped | ped |
| Ped | target |
Return type void
Build 323
Documentation
Example from "me_amanda1.ysc.c4": TASK::TASK_ARREST_PED(l_19F /* This is a Ped */ , PLAYER::PLAYER_PED_ID()); Example from "armenian1.ysc.c4": if (!PED::IS_PED_INJURED(l_B18[0/*1*/])) { TASK::TASK_ARREST_PED(l_B18[0/*1*/], PLAYER::PLAYER_PED_ID()); } I would love to have time to experiment to see if a player Ped can arrest another Ped. Might make for a good cop mod. Looks like only the player can be arrested this way. Peds react and try to arrest you if you task them, but the player charater doesn't do anything if tasked to arrest another ped.
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.