Skripta koju koristim: Moja
Detaljan opis problema: Napravio sam TDove koji se mogu selektovati/kliknuti sa linijom PlayerTextDrawSetSelectable....
I kada selektujem prvi TD bude sve normalno, kada selektujem prvi misem kao da sam selektovao i prvi i drugi, kada selektujem treci kao da sam selektovao i prvi i drugi i treci...
Dio skripte: [pawn]
GornjiMeni[2][playerid] = CreatePlayerTextDraw(playerid, 11.777752, 6.968891, "Select");
PlayerTextDrawLetterSize(playerid, GornjiMeni[2][playerid], 0.181999, 1.435733);
PlayerTextDrawAlignment(playerid, GornjiMeni[2][playerid], 1);
PlayerTextDrawColor(playerid, GornjiMeni[2][playerid], -1);
PlayerTextDrawSetShadow(playerid, GornjiMeni[2][playerid], 0);
PlayerTextDrawSetOutline(playerid, GornjiMeni[2][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, GornjiMeni[2][playerid], 51);
PlayerTextDrawFont(playerid, GornjiMeni[2][playerid], 2);
PlayerTextDrawSetProportional(playerid, GornjiMeni[2][playerid], 1);
PlayerTextDrawSetSelectable(playerid, GornjiMeni[2][playerid], 1);
GornjiMeni[3][playerid] = CreatePlayerTextDraw(playerid, 254.222229, 12.942220, "Select");
PlayerTextDrawLetterSize(playerid, GornjiMeni[3][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, GornjiMeni[3][playerid], 1);
PlayerTextDrawColor(playerid, GornjiMeni[3][playerid], -1);
PlayerTextDrawSetShadow(playerid, GornjiMeni[3][playerid], 0);
PlayerTextDrawSetOutline(playerid, GornjiMeni[3][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, GornjiMeni[3][playerid], 51);
PlayerTextDrawFont(playerid, GornjiMeni[3][playerid], 2);
PlayerTextDrawSetProportional(playerid, GornjiMeni[3][playerid], 1);
PlayerTextDrawSetSelectable(playerid, GornjiMeni[3][playerid], 1);
GornjiMeni[4][playerid] = CreatePlayerTextDraw(playerid, 414.222534, 12.942221, "Select");
PlayerTextDrawLetterSize(playerid, GornjiMeni[4][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, GornjiMeni[4][playerid], 1);
PlayerTextDrawColor(playerid, GornjiMeni[4][playerid], -1);
PlayerTextDrawSetShadow(playerid, GornjiMeni[4][playerid], 0);
PlayerTextDrawSetOutline(playerid, GornjiMeni[4][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, GornjiMeni[4][playerid], 51);
PlayerTextDrawFont(playerid, GornjiMeni[4][playerid], 2);
PlayerTextDrawSetProportional(playerid, GornjiMeni[4][playerid], 1);
PlayerTextDrawSetSelectable(playerid, GornjiMeni[4][playerid], 1);
GornjiMeni[5][playerid] = CreatePlayerTextDraw(playerid, 553.777709, 12.444417, "Select");
PlayerTextDrawLetterSize(playerid, GornjiMeni[5][playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, GornjiMeni[5][playerid], 1);
PlayerTextDrawColor(playerid, GornjiMeni[5][playerid], -1);
PlayerTextDrawSetShadow(playerid, GornjiMeni[5][playerid], 0);
PlayerTextDrawSetOutline(playerid, GornjiMeni[5][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, GornjiMeni[5][playerid], 51);
PlayerTextDrawFont(playerid, GornjiMeni[5][playerid], 2);
PlayerTextDrawSetProportional(playerid, GornjiMeni[5][playerid], 1);
PlayerTextDrawSetSelectable(playerid, GornjiMeni[5][playerid], 1);[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
PlayerTextDrawTextSize
http://wiki.sa-mp.com/wiki/TextDrawSetSelectable