02DD

From GTAMods Wiki
Revision as of 15:12, 19 December 2010 by Spaceeinstein (talk | contribs) (all zones are accepted)
Jump to navigation Jump to search

{{{games}}}


Description
Gets a ped of a specific pedtype in the specified zone.
Syntax
{{{syntax1}}}
Parameter

This opcode grabs a random ped of a specific pedtype within the specified zone.

Sanny Builder example

02DD: 0@ = get_random_ped_in_zone 'SAN_AND' with_pedtype_civilian 1 gang 0 criminal/prostitute 1

Keywords

get, random, ped, actor, character, zone, area