Problem (error/warning): Nece da ocita i stavi sliku vozila dole na brzinometru koje je uzeto, nego uvek jedno isto, SULTAN! :(
Dio skripte: [pawn] //////////////////////// NOVI BRZINOMETAR //////////////////////////////////
BRZINOMER[0][playerid] = CreatePlayerTextDraw(playerid,491.000000, 347.812500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, BRZINOMER[0][playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, BRZINOMER[0][playerid], 145.000000, 64.312500);
PlayerTextDrawAlignment(playerid, BRZINOMER[0][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMER[0][playerid], 255);
PlayerTextDrawSetShadow(playerid, BRZINOMER[0][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMER[0][playerid], 0);
PlayerTextDrawFont(playerid, BRZINOMER[0][playerid], 4);
BRZINOMER[1][playerid] = CreatePlayerTextDraw(playerid,491.000000, 347.812500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, BRZINOMER[1][playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, BRZINOMER[1][playerid], 145.000000, 9.625000);
PlayerTextDrawAlignment(playerid, BRZINOMER[1][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMER[1][playerid], 0x2e9cd1FF);
PlayerTextDrawSetShadow(playerid, BRZINOMER[1][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMER[1][playerid], 0);
PlayerTextDrawFont(playerid, BRZINOMER[1][playerid], 4);
BRZINOMER[2][playerid] = CreatePlayerTextDraw(playerid,563.500000, 346.937500, "kontrolna tabla");
PlayerTextDrawLetterSize(playerid, BRZINOMER[2][playerid], 0.247000, 1.114376);
PlayerTextDrawAlignment(playerid, BRZINOMER[2][playerid], 2);
PlayerTextDrawColor(playerid, BRZINOMER[2][playerid], -1);
PlayerTextDrawSetShadow(playerid, BRZINOMER[2][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMER[2][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, BRZINOMER[2][playerid], 255);
PlayerTextDrawFont(playerid, BRZINOMER[2][playerid], 2);
PlayerTextDrawSetProportional(playerid, BRZINOMER[2][playerid], 1);
BRZINOMER[3][playerid] = CreatePlayerTextDraw(playerid,494.500000, 343.000000, "New Textdraw");
PlayerTextDrawLetterSize(playerid, BRZINOMER[3][playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, BRZINOMER[3][playerid], 77.000000, 74.375000);
PlayerTextDrawAlignment(playerid, BRZINOMER[3][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMER[3][playerid], -1);
PlayerTextDrawUseBox(playerid, BRZINOMER[3][playerid], true);
PlayerTextDrawBoxColor(playerid, BRZINOMER[3][playerid], 0);
PlayerTextDrawSetShadow(playerid, BRZINOMER[3][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMER[3][playerid], 1);
PlayerTextDrawFont(playerid, BRZINOMER[3][playerid], 5);
PlayerTextDrawBackgroundColor(playerid, BRZINOMER[3][playerid], 0x00000000);
PlayerTextDrawSetProportional(playerid, BRZINOMER[3][playerid], 1);
PlayerTextDrawSetPreviewModel(playerid, BRZINOMER[3][playerid], 560);
PlayerTextDrawSetPreviewRot(playerid, BRZINOMER[3][playerid], -20.000000, 0.000000, -30.000000, 1.000000);
BRZINOMER[4][playerid] = CreatePlayerTextDraw(playerid,565.500000, 369.687500, "0 km/h");
PlayerTextDrawLetterSize(playerid, BRZINOMER[4][playerid], 0.309500, 1.149376);
PlayerTextDrawAlignment(playerid, BRZINOMER[4][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMER[4][playerid], -1);
PlayerTextDrawSetShadow(playerid, BRZINOMER[4][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMER[4][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, BRZINOMER[4][playerid], 255);
PlayerTextDrawFont(playerid, BRZINOMER[4][playerid], 2);
PlayerTextDrawSetProportional(playerid, BRZINOMER[4][playerid], 1);
BRZINOMER[5][playerid] = CreatePlayerTextDraw(playerid,565.500000, 386.750000, "100l");
PlayerTextDrawLetterSize(playerid, BRZINOMER[5][playerid], 0.315500, 1.241250);
PlayerTextDrawAlignment(playerid, BRZINOMER[5][playerid], 1);
PlayerTextDrawColor(playerid, BRZINOMER[5][playerid], -1);
PlayerTextDrawSetShadow(playerid, BRZINOMER[5][playerid], 0);
PlayerTextDrawSetOutline(playerid, BRZINOMER[5][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, BRZINOMER[5][playerid], 255);
PlayerTextDrawFont(playerid, BRZINOMER[5][playerid], 2);
PlayerTextDrawSetProportional(playerid, BRZINOMER[5][playerid], 1);
/////////////////[/pawn]
Debug iz server_log: /
Neke video/slike ako je problem ingame (obavezno ako je ingame): https://imgur.com/a/1kUco
PlayerTextDrawSetPreviewModel(playerid, BRZINOMER[3][playerid], funkcija za getanje vehicle id); i to pozivas kad igrac udje u auto, lock