Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AE2

Opcode Database

0AE2

DescriptionReceives the handle of a random car near the point and within a certain radius, determines the result of logical operation TRUE, if the machine is found, and FALSE, if not.

Params:
1. Variable, which will be written handle received the machine.
2. X Coord.
3. Y Coord.
4. Z Coord.
5. Radius of the coordinates.
6. Flag that specifies search, starting with the last found these opcodes (not to stumble constantly on the same machine at cyclic search).
7. Flag that specifies a pass car exploded.
Parameters (v2)1) X Coord (Float) (FLOAT)
2) Y Coord (Float) (FLOAT)
3) Z Coord (Float) (FLOAT)
4) Radius (Float) (FLOAT)
5) Boolean (1 or 0) (INT)
6) Boolean (1 or 0) (INT)
7) (Returned) Vehicle handle (Integer) (INT)
Gamessa
CategoryCLEO 4
San Andreas
sascm.ini0AE2=7, find_all_random_vehicles_in_sphere %1d% %2d% %3d% radius %4d% find_next %5h% skip_dead %6h% store_to %7d%
Example0AE2: find_all_random_vehicles_in_sphere 0@ 1@ 2@ radius 10.0 find_next 1 skip_dead 1 store_to 3@
Command NameFIND_ALL_RANDOM_VEHICLES_IN_SPHERE

<< 0AE1

0AE3 >>