23.04.2014, 13:58
No , that's not what i meant...
I want to make tires health = 100
And i want this health to decrease randomly for each tire
Like
Front_Left_Tire = 98
Front_Right_Tire = 97
Rear_Right_Tire = 95
Rear_Right_Tire = 92
and deacrese it while pressing turn which i made on OnPlayerKeyStateChange.
I want to make tires health = 100
Код:
for(new i=1; i < MAX_VEHICLES; i++) { TireInfo[i][Front_Left_Tire] = 100; TireInfo[i][Front_Right_Tire] = 100; TireInfo[i][Rear_Left_Tire] = 100; TireInfo[i][Rear_Right_Tire] = 100; }
Like
Front_Left_Tire = 98
Front_Right_Tire = 97
Rear_Right_Tire = 95
Rear_Right_Tire = 92
and deacrese it while pressing turn which i made on OnPlayerKeyStateChange.