Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0327

Opcode Database

0327

DescriptionGets a random car with the specified model in the specified area.
Parameters (v2)1) X Coord (Float) (FLOAT)
2) Y Coord (Float) (FLOAT)
3) X Coord (Float) (FLOAT)
4) Y Coord (Float) (FLOAT)
5) Model (Integer) (MODEL)
6) (Returned) Vehicle handle (Integer) (INT)
Gamessa vc iii
CategoryCommon, Vehicle
San Andreas
sascm.ini0327=6,get_random_car_of_type_in_area %1d% %2d% to %3d% %4d% model %5d% store_to %6d%
Example0327: get_random_car_of_type_in_area $111 $112 to $114 $115 model -1 store_to $TEMPVAR_ACTOR_CAR
Command NameGET_RANDOM_CAR_OF_TYPE_IN_AREA
Vice City
sascm.ini0327=6,%6d% = create_random_car_with_actors %5d% in_area %1d% %2d% %3d% %4d%
Example0327: $4238 = create_random_car_with_actors -1 in_area $4323 $4324 $4326 $4327
Command NameGET_RANDOM_CAR_OF_TYPE_IN_AREA
GTA III
gtascm.ini0327=6,%6d% = create_random_car_with_actors %5d% in_area %1d% %2d% %3d% %4d%
Example0327: $2494 = create_random_car_with_actors -1 in_area 900.4375 -431.8749 905.75 -419.9374
Command NameGET_RANDOM_CAR_OF_TYPE_IN_AREA

<< 0326

0329 >>