Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Huan Escobar poslato Decembar 05, 2017, 10:30:17 PRE PODNE

Naslov: PlayerTextDrawSetSelectable
Poruka od: Huan Escobar poslato Decembar 05, 2017, 10:30:17 PRE PODNE
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)://
Naslov: Odg: PlayerTextDrawSetSelectable
Poruka od: Shomyy poslato Decembar 05, 2017, 10:36:28 PRE PODNE
PlayerTextDrawTextSize
Naslov: Odg: PlayerTextDrawSetSelectable
Poruka od: Huan Escobar poslato Decembar 05, 2017, 10:45:06 PRE PODNE
Citat: 𝕊𝕙𝕠𝕞𝕪 𝕊ð•"𝕣𝕚𝕡𝕥 poslato Decembar 05, 2017, 10:36:28 PRE PODNE
PlayerTextDrawTextSize
Kako da dobijem tu liniju koda u editoru?
Naslov: Odg: PlayerTextDrawSetSelectable
Poruka od: ich. poslato Decembar 05, 2017, 11:54:19 PRE PODNE
http://wiki.sa-mp.com/wiki/TextDrawSetSelectable