Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 05F0

Opcode Database

05F0

DescriptionPerforms a search for a vehicle, located in a specified radius around the point.
Parameters (v2)1) (Returned) Vehicle handle (Integer) (INT)
2) X Coord (Float) (FLOAT)
3) Y Coord (Float) (FLOAT)
4) Z Coord (Float) (FLOAT)
5) Radius (Float) (FLOAT)
6) Boolean (1 or 0) (INT)
7) Boolean (1 or 0) (INT)
Gamesvc iii
CategoryActor, III CLEO, VC CLEO
San Andreas
sascm.ini05F0=0,NOP ; set_car_protect_car_front
Example
Command NameSET_CAR_PROTECT_CAR_FRONT
Vice City
sascm.ini05F0=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5d% pass_wrecked %6d%
Example05F0: 3@ = random_vehicle_near_point 0@ 1@ 2@ in_radius 10.0 find_next 1 pass_wrecked 0 //IF and SET
GTA III
gtascm.ini05F0=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5d% pass_wrecked %6d%
Example05F0: 3@ = random_vehicle_near_point 0@ 1@ 2@ in_radius 10.0 find_next 1 pass_wrecked 0 //IF and SET

<< 05EF

05F1 >>