29.05.2015, 10:38
Quote:
TextDrawShowForPlayer(playerid, Spidometras[0]); //TextDrawShowForPlayer(playerid, Spidometras[1]); //TextDrawShowForPlayer(playerid, Spidometras[2]); TextDrawSetPreviewRot(Spidometras[1], 0.000000, vehicleDB[vehicleid][Fuel]*3+10, 180.000000, 1.000000); for(new lol=3; lol<16; lol++) { if(lol == 14) { continue; } if(lol == 5) { TextDrawShowForPlayer(playerid, Spidometras[1]); } if(lol == 12) { TextDrawShowForPlayer(playerid, Spidometras[14]); } TextDrawShowForPlayer(playerid, Spidometras[lol]); } PlayerTextDrawShow(playerid, Spidometras2[0][playerid]); PlayerTextDrawShow(playerid, Spidometras2[1][playerid]); |
And please, indent the code, because there are some warnings for loose indentation. I guess that's because this include was written with Notepad?
And shorten right side of the box to be exact as the left side, because there is unneeded gap between models and box(by shortening box textdraws by 10 points):
I'm doing all that by myself, but I have to do it again everytime new version comes out