Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 02DD

Opcode Database

02DD

DescriptionGets a pedestrian in the specified town, if the pedtype matches the specified values.
Parameters (v2)1) Area name (String) (TEXT_LABEL)
2) Boolean (1 or 0) (INT)
3) Boolean (1 or 0) (INT)
4) Boolean (1 or 0) (INT)
5) (Returned) Actor handle (Integer) (INT)
Gamessa vc iii
CategoryActor, Common, Creation
San Andreas
sascm.ini02DD=5,get_random_char_in_zone %1s% civilian %2h% gang %3h% criminal/prostitute %4h% store_to %5d%
Example02DD: get_random_char_in_zone 'SAN_AND' civilian 1 gang 0 criminal/prostitute 1 store_to 88@
Command NameGET_RANDOM_CHAR_IN_ZONE
Vice City
sascm.ini02DD=5,get_random_actor %5d% in_zone %1s% %2h% %3h% %4h%
Example
Command NameGET_RANDOM_CHAR_IN_ZONE
GTA III
gtascm.ini02DD=2,get_random_actor %2d% in_zone %1s%
Example02DD: get_random_actor $ped_for_taximission in_zone 'IND_ZON'
Command NameGET_RANDOM_CHAR_IN_ZONE

<< 02DB

02DE >>