Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0469

Opcode Database

0469

DescriptionGets a random law enforcement ped of any of the specified types in the 2D area.
Parameters (v2)1) X Coord (Float) (FLOAT)
2) Y Coord (Float) (FLOAT)
3) X Coord (Float) (FLOAT)
4) Y Coord (Float) (FLOAT)
5) Boolean (1 or 0) (INT)
6) Boolean (1 or 0) (INT)
7) Boolean (1 or 0) (INT)
8) Boolean (1 or 0) (INT)
9) Boolean (1 or 0) (INT)
10) (Returned) Actor handle (Integer) (INT)
Gamessa vc
CategoryNOP
San Andreas
sascm.ini0469=0,NOP
Example
Command NameGET_RANDOM_COP_IN_AREA
Vice City
sascm.ini0469=10,get_random_cop_in_area %1d% %2d% to %3d% %4d% cop %5h% swat %6h% fbi %7h% army%8h% vice %9h% store_to %10d%
Example0469: get_random_cop_in_area -919.5 -329.8 to -901.5 -351.45 cop 0 swat 1 fbi 0 army 0 vice 0 store_to $4118

<< 0468

046B >>