23.04.2014, 11:30
Front_Left_Tire, Front_Right_Tire, Rear_Left_Tire and Rear_Right_Tire are indexes of the enum and that's why you get the warning. You should use the TireInfo array.
Actually, you don't need all those arrays. 1 is just fine.
pawn Код:
new string0[50];
...
format(string0, sizeof(string0), "%d priekine kaire padanga.", TireInfo[vehicleid][Front_Left_Tire]);
SendClientMessage(i,COLOR_RED,string0);
format(string0, sizeof(string0), "%d priekine desine padanga.", TireInfo[vehicleid][Front_Right_Tire]);
SendClientMessage(i,COLOR_RED,string0);
format(string0, sizeof(string0), "%d galine kaire padanga.", TireInfo[vehicleid][Rear_Left_Tire]);
SendClientMessage(i,COLOR_RED,string0);
format(string0, sizeof(string0), "%d galine desine padanga.", TireInfo[vehicleid][Rear_Right_Tire]);
SendClientMessage(i,COLOR_RED,string0);