Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0ADB

Opcode Database

0ADB

DescriptionGets the name of a particular vehicle model (LANDSTK, BRAVURA, BUFFALO etc.). Name is specified in the IDE file (vehicles.ide) 6-m parameter and its length can not exceed 7 characters.

This name corresponds to the GXT vehicles, so you can get the real name of the machine, using this opcode, together with the opcodes 0ADE.
Parameters (v2)1) Model (Integer) (MODEL)
2) (Returned) String (TEXT_LABEL)
Gamessa
CategoryCLEO 4
San Andreas
sascm.ini0ADB=2,get_name_of_vehicle_model %1o% store_to %2d%
Example0ADB: get_name_of_vehicle_model #LANDSTAL store_to 0@v
Command NameGET_NAME_OF_VEHICLE_MODEL

<< 0ADA

0ADC >>