GET RANDOM CAR IN SPHERE
Jump to navigation
Jump to search
Number of parameters: 6 | ||
---|---|---|
Parameter # | Type | Description |
1. | float | X-Coordinate |
2. | float | Y-Coordinate |
3. | float | Z-Coordinate |
4. | float | Radius |
5. | integer | Model hash |
6. | integer | Unknown (usually 2310) |
Return value: | ||
Type | Description | |
unknown | id of the car |
This function returns the random car in the specified radius, with the specified hash.
Note: Example: GET_RANDOM_CAR_IN_SPHERE( x, y, z, 30.0000, -956048545, 2310, &uReturnedCar )