29.06.2013, 01:38
Im trying to make a way to input the vehicle model id into this enum and in return get the Type and Weight.
Anyone know how to do that?
Heres the enum:
Anyone know how to do that?
Heres the enum:
pawn Код:
enum MissionVehicles
{
Model,
Type,
Weight
}
new mVehicle[][MissionVehicles] =
{
{403,1,2},
{433,1,1},
{455,1,1},
{456,1,1},
{498,1,1},
{514,1,2},
{515,1,2},
{578,1,1},
{609,1,1},
{573,1,1},
{511,2,1},
{512,2,1},
{513,2,1},
{519,2,1},
{553,2,2},
{577,2,3},
{592,2,3},
{417,3,2},
{469,3,1},
{548,3,2},
{563,3,2},
{487,3,1},
{488,3,1},
{413,4,1},
{414,4,2},
{440,4,1},
{459,4,1},
{478,4,1},
{482,4,1},
{483,4,1},
{495,4,1},
{499,4,2},
{543,4,1},
{552,4,1},
{554,4,1},
{582,4,1},
{605,4,1},
{438,5,1},
{420,5,1},
{431,6,2},
{437,6,2},
{524,7,1}
};