23.04.2014, 11:22
Hello guys!
I ran into a trouble , i'm trying to make tires health system and i can't sendclientmessage about the tires health i get 4 warnings:
What is the problem?
I ran into a trouble , i'm trying to make tires health system and i can't sendclientmessage about the tires health i get 4 warnings:
pawn Код:
warning 213: tag mismatch
pawn Код:
new string0[100],string1[100],string2[100],string3[100];
new rand = random(1500);
////////////////////////////////////////////////
TireInfo[vehicleid][Front_Left_Tire] -= GetPlayerSpeed(i)/rand;
TireInfo[vehicleid][Front_Right_Tire] -= GetPlayerSpeed(i)/rand;
TireInfo[vehicleid][Rear_Left_Tire] -= GetPlayerSpeed(i)/rand;
TireInfo[vehicleid][Rear_Right_Tire] -= GetPlayerSpeed(i)/rand;
format(string0 , sizeof(string0) , "%d priekine kaire padanga.",Front_Left_Tire); ///ERORR
SendClientMessage(i,COLOR_RED,string0);
format(string1 , sizeof(string1) , "%d priekine desine padanga.",Front_Right_Tire); ///ERORR
SendClientMessage(i,COLOR_RED,string1);
format(string2 , sizeof(string2) , "%d galine kaire padanga.",Rear_Left_Tire); ///ERORR
SendClientMessage(i,COLOR_RED,string3);
format(string3 , sizeof(string1) , "%d galine desine padanga.",Rear_Right_Tire); ///ERORR
SendClientMessage(i,COLOR_RED,string3);