25.11.2016, 00:37
Hello guys.
I got a little problem.
Tryed to add a new Speedometer and got some errors like this one.
(16921) : warning 213: tag mismatch
(16921) : warning 213: tag mismatch
(16921) : warning 202: number of arguments does not match definition
(16925) : warning 213: tag mismatch
(16925) : warning 213: tag mismatch
(16925) : warning 202: number of arguments does not match definition
(1694 : warning 213: tag mismatch
(1694 : warning 213: tag mismatch
(1694 : warning 202: number of arguments does not match definition
(16952) : warning 213: tag mismatch
(16952) : warning 213: tag mismatch
(16952) : warning 202: number of arguments does not match definition
(16956) : warning 213: tag mismatch
(16956) : warning 213: tag mismatch
(16956) : warning 202: number of arguments does not match definition
I`l give +rep for who can help me.
Thanks
I got a little problem.
Tryed to add a new Speedometer and got some errors like this one.
(16921) : warning 213: tag mismatch
(16921) : warning 213: tag mismatch
(16921) : warning 202: number of arguments does not match definition
(16925) : warning 213: tag mismatch
(16925) : warning 213: tag mismatch
(16925) : warning 202: number of arguments does not match definition
(1694 : warning 213: tag mismatch
(1694 : warning 213: tag mismatch
(1694 : warning 202: number of arguments does not match definition
(16952) : warning 213: tag mismatch
(16952) : warning 213: tag mismatch
(16952) : warning 202: number of arguments does not match definition
(16956) : warning 213: tag mismatch
(16956) : warning 213: tag mismatch
(16956) : warning 202: number of arguments does not match definition
Код:
if(GetPlayerState(i) == PLAYER_STATE_DRIVER) { PlayerTextDrawShow(i, ArkaPlan1[i]); PlayerTextDrawShow(i, ArkaPlan2[i]); PlayerTextDrawShow(i, ArkaPlan3[i]); PlayerTextDrawShow(i, ArkaPlan4[i]); PlayerTextDrawShow(i, ArkaPlan5[i]); PlayerTextDrawShow(i, ArkaPlan6[i]); new vehicle = GetPlayerVehicleID(i), spe = Carspeed(i); new str1[265]; new Float:Can; GetVehicleHealth(vehicle, Can); PlayerTextDrawShow(i, ArkaPlan0[i]); format(str1,sizeof(str1)," Speed: ~y~%d Km/h",spe); PlayerTextDrawSetString(i, ArkaPlan0[i], str1); if(Gas[vehicle] >= 100) { PlayerTextDrawTextSize(Hizg[i],603.000000,0.000000); <---- this line } else { PlayerTextDrawTextSize(Hizg[i], floatadd(534.0, floatdiv(Gas[vehicle], 3.900000)),0.000000); <---- this line too } PlayerTextDrawShow(i, Hizg[i]); if(OwnedVeh(vehicle) != 0 && !IsAPlane(vehicle)) { PlayerTextDrawShow(i, GostergeYazi[i]); format(str1,sizeof(str1),"Odometer: ~y~%.0fKM",CarInfo[OwnedVeh(vehicle)][cKM]); PlayerTextDrawSetString(i, GostergeYazi[i], str1); } if(OwnedVeh(vehicle) != 0 && CarInfo[OwnedVeh(vehicle)][cLock] == 0) { PlayerTextDrawShow(i, Cang[i]); format(str1,sizeof(str1),"UNLOCKED"); PlayerTextDrawSetString(i, Cang[i], str1); } else if(OwnedVeh(vehicle) != 0 && CarInfo[OwnedVeh(vehicle)][cLock] == 1) { PlayerTextDrawShow(i, Cang[i]); format(str1,sizeof(str1),"~y~LOCKED"); PlayerTextDrawSetString(i, Cang[i], str1); } if(Can < 0) { PlayerTextDrawTextSize(Cang[i],538.000000,0.000000); <---- here } else if(Can >= 1000) { PlayerTextDrawTextSize(Cang[i],603.000000,0.000000); <-----and here } else { PlayerTextDrawTextSize(Cang[i],floatadd(534.0, floatdiv(Can, 14.6000000)),0.000000); <----and here too } PlayerTextDrawSetString(i, Cizgi[i], str1); }
Thanks