GTAG - Modding - Opcode Database - 08EC
Opcode Database
08EC
Description | Returns 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) |
Games | |
Category | Vehicle |
Command Name (IV) | GET_VEHICLE_CLASS |
San Andreas | |
sascm.ini | 08EC=2,get_vehicle_class %1d% store_to %2d% |
Example | 08EC: get_vehicle_class $TEMPVAR_ACTOR_CAR store_to $TEMPVAR_CAR_TYPE |
Command Name | GET_VEHICLE_CLASS |