Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 08EC

Opcode Database

08EC

DescriptionReturns the vehicles class as defined in vehicles.ide.

normal = 0
poorfamily = 1
richfamily = 2
executive = 3
worker = 4
big = 5
taxi = 6
moped = 7
motorbike = 8
leisureboat = 9
workerboat = 10
bicycle = 11
ignore = -1
Parameters (v2)1) Vehicle handle (Integer) (INT)
2) (Returned) Integer (INT)
Gamessa
CategoryVehicle
Command Name (IV)GET_VEHICLE_CLASS
San Andreas
sascm.ini08EC=2,get_vehicle_class %1d% store_to %2d%
Example08EC: get_vehicle_class $TEMPVAR_ACTOR_CAR store_to $TEMPVAR_CAR_TYPE
Command NameGET_VEHICLE_CLASS

<< 08EB

08ED >>