GTAG - Modding - Opcode Database - 02DD
Opcode Database
02DD
| Description | Gets 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) |
| Games | |
| Category | Actor, Common, Creation |
| San Andreas | |
| sascm.ini | 02DD=5,get_random_char_in_zone %1s% civilian %2h% gang %3h% criminal/prostitute %4h% store_to %5d% |
| Example | 02DD: get_random_char_in_zone 'SAN_AND' civilian 1 gang 0 criminal/prostitute 1 store_to 88@ |
| Command Name | GET_RANDOM_CHAR_IN_ZONE |
| Vice City | |
| sascm.ini | 02DD=5,get_random_actor %5d% in_zone %1s% %2h% %3h% %4h% |
| Example | |
| Command Name | GET_RANDOM_CHAR_IN_ZONE |
| GTA III | |
| gtascm.ini | 02DD=2,get_random_actor %2d% in_zone %1s% |
| Example | 02DD: get_random_actor $ped_for_taximission in_zone 'IND_ZON' |
| Command Name | GET_RANDOM_CHAR_IN_ZONE |

