TASK CHAR ARREST CHAR
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | Handle | Ped Handle (cop) |
2. | Handle | Ped Handle (guilty) |
Return value: | ||
Type | Description | |
None |
Description
Tasks the selected ped (parameter 1) to 'arrest' the other ped (parameter 2). It is looks like this:
1`st ped (if he have pistol) permanent aiming at 2`nd ped. If 2`nd ped enters a veicle as driver - 1`st ped jack him out and aim again? but don`t follow 2`nd ped. You have to use other native to make 1`st ped follow 2`nd.
NOTE: It was tested with many 'random' peds. For example the brave ped (if he is parameter 1) will attack parameter 2 ped with barehands. Cowardly ped (Parameer 1) - will run away from parameter 2 ped. If parameter 1 - is a cop - he will aim at parameter 2 ped till he will do a crime. If player will be in parameter 1 - he will automaticly attack parameter 2 ped.
P.S. It is looks like this native is used by original game engine for arresting (and following) Niko with 0-1 star wanted level.