GET RANDOM CHAR IN AREA OFFSET NO SAVE
Jump to navigation
Jump to search
| Number of parameters: 7 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | float | X Corner of Radius |
| 2. | float | Y Corner of Radius |
| 3. | float | Z Corner of Radius |
| 4. | float | X Radius |
| 5. | float | Y Radius |
| 6. | float | Z Radius |
| 7. | ped handle | return selected ped |
| Return value: | ||
| Type | Description | |
| None | ||
This function will select a random char in the specified radius and return their pointer in Parameter 7.
At the very minimum, GET_RANDOM_CHAR_IN_AREA_OFFSET_NO_SAVE must be preceded by BEGIN_CHAR_SEARCH_CRITERIA and END_CHAR_SEARCH_CRITERIA.