Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Delicâ„¢ poslato Jul 30, 2017, 16:03:42 POSLE PODNE

Naslov: TextDraw textsize i clickable
Poruka od: Delicâ„¢ poslato Jul 30, 2017, 16:03:42 POSLE PODNE
Skripta koju koristim:UP
Detaljan opis problema:Imam problem sa Clickable TDovima, imam PlayerTextDrawTextSize imam sve ali ja dodjem misom na tdove nece da se klikne, ako neko zna bio bih mu zahvalan :)
Dio skripte:ako trebadne dacu
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://imgur.com/a/ALWVt (http://imgur.com/a/ALWVt)
Naslov: Odg: TextDraw textsize i clickable
Poruka od: #A.J. poslato Jul 30, 2017, 16:11:46 POSLE PODNE
Oj znao sam to ja prije, nešto još moraš dodati posebno ja mislim..
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Ceta poslato Jul 30, 2017, 16:25:29 POSLE PODNE
OnPlayerClickTextDraw
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Delicâ„¢ poslato Jul 30, 2017, 16:58:02 POSLE PODNE
Citat: Ceta poslato Jul 30, 2017, 16:25:29 POSLE PODNE
OnPlayerClickTextDraw
Imam uradio sam sve i u onplayerclick textdraw
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Elvedin_Wayne poslato Jul 30, 2017, 18:14:29 POSLE PODNE
Moras boxsize podesiti :)
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Ceta poslato Jul 30, 2017, 20:25:35 POSLE PODNE
Cek jel tebi problem nece da ti prekaze mis kad trebas klikat?
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Elvedin_Wayne poslato Jul 30, 2017, 20:38:25 POSLE PODNE
Citat: Ceta poslato Jul 30, 2017, 20:25:35 POSLE PODNE
Cek jel tebi problem nece da ti prekaze mis kad trebas klikat?



Citat: Delicâ,,¢ poslato Jul 30, 2017, 16:03:42 POSLE PODNE
Skripta koju koristim:UP
Detaljan opis problema:Imam problem sa Clickable TDovima, imam PlayerTextDrawTextSize imam sve ali ja dodjem misom na tdove nece da se klikne, ako neko zna bio bih mu zahvalan :)
Dio skripte:ako trebadne dacu
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://imgur.com/a/ALWVt (http://imgur.com/a/ALWVt)


Procitaj fino šta piše :)
Naslov: Odg: TextDraw textsize i clickable
Poruka od: lucius poslato Jul 30, 2017, 23:08:01 POSLE PODNE
PlayerTextDrawSetSelectable(playerid, text, 1/true);
http://wiki.sa-mp.com/wiki/TextDrawSetSelectable
To moras da imas kad kreiras te tdove inace nece nista se desi
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Delicâ„¢ poslato Jul 30, 2017, 23:35:05 POSLE PODNE
Citat: \nLucius poslato Jul 30, 2017, 23:08:01 POSLE PODNE
PlayerTextDrawSetSelectable(playerid, text, 1/true);
http://wiki.sa-mp.com/wiki/TextDrawSetSelectable
To moras da imas kad kreiras te tdove inace nece nista se desi
Imam to vec
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Ceta poslato Jul 31, 2017, 01:39:50 PRE PODNE
SelectTextDraw(playerid, RED); Probaj
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Delicâ„¢ poslato Jul 31, 2017, 08:54:48 PRE PODNE
Citat: Ceta poslato Jul 31, 2017, 01:39:50 PRE PODNE
SelectTextDraw(playerid, RED); Probaj
Imam i to sve
Naslov: Odg: TextDraw textsize i clickable
Poruka od: anderson87 poslato Jul 31, 2017, 13:34:16 POSLE PODNE
[pawn]OnPlayerClickPlayerTextDraw[/pawn]
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Delicâ„¢ poslato Jul 31, 2017, 13:45:53 POSLE PODNE
Citat: няÏ...Ñ•Ñ,αиσνιÏ, poslato Jul 31, 2017, 13:34:16 POSLE PODNE
[pawn]OnPlayerClickPlayerTextDraw[/pawn]
Imam i tu sve definisano
Naslov: Odg: TextDraw textsize i clickable
Poruka od: lucius poslato Jul 31, 2017, 14:20:15 POSLE PODNE
Daj nam jedan TD i ono sto si definisao u OnPlayerClickPlayerTextDraw i OnPlayerConnect sta si stavio
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Delicâ„¢ poslato Jul 31, 2017, 14:40:07 POSLE PODNE
[pawn]
   RegTD[playerid][0] = CreatePlayerTextDraw(playerid, 97.200035, 148.186447, "LOZINKA");
   PlayerTextDrawLetterSize(playerid, RegTD[playerid][0], 0.359999, 0.980265);
   PlayerTextDrawTextSize(playerid, RegTD[playerid][0], 0.000000, 120.000000);
   PlayerTextDrawAlignment(playerid, RegTD[playerid][0], 2);
   PlayerTextDrawColor(playerid, RegTD[playerid][0], -1);
   PlayerTextDrawUseBox(playerid, RegTD[playerid][0], 1);
   PlayerTextDrawBoxColor(playerid, RegTD[playerid][0], 255);
   PlayerTextDrawSetShadow(playerid, RegTD[playerid][0], 0);
   PlayerTextDrawSetOutline(playerid, RegTD[playerid][0], 0);
   PlayerTextDrawBackgroundColor(playerid, RegTD[playerid][0], 255);
   PlayerTextDrawFont(playerid, RegTD[playerid][0], 2);
   PlayerTextDrawSetProportional(playerid, RegTD[playerid][0], 1);
   PlayerTextDrawSetShadow(playerid, RegTD[playerid][0], 0);
   PlayerTextDrawSetSelectable(playerid, RegTD[playerid][0], true);
[/pawn]

[pawn]
   if(dialogid == REGLOG_PRAVILA)
   {
       if(!response) return Kick(playerid);
      if(response)
      {
            PlayerTextDrawShow(playerid,RegTD[playerid][0]); PlayerTextDrawShow(playerid,RegTD[playerid][1]);
            PlayerTextDrawShow(playerid,RegTD[playerid][2]); PlayerTextDrawShow(playerid,RegTD[playerid][3]);
            PlayerTextDrawShow(playerid,RegTD[playerid][4]); PlayerTextDrawShow(playerid,RegTD[playerid][5]);
            PlayerTextDrawShow(playerid,RegTD[playerid][6]); PlayerTextDrawShow(playerid,RegTD[playerid][7]);
            PlayerTextDrawShow(playerid,RegTD[playerid][8]); PlayerTextDrawShow(playerid,RegTD[playerid][9]);
           SelectTextDraw(playerid,0xFF8000FF);
      }
   }
[/pawn]

[pawn]
    if(playertextid == RegTD[playerid][0])
    {
      if(MozeProc[playerid] >= 1) return SCM(playerid,-1,""ORANGE"((C:RP)) POGRESKA | Vec si popunio ovo polje");
       new regstring[512], regname[64]; GetPlayerName(playerid,regname,sizeof(regname));
      format(regstring,sizeof(regstring),""BELA"________________________________________________\n\n"ORANGE"Dobrodosao na Corpus RolePlay\n\nVase Ime i Prezime: "CRVENA"%s\n"BELA"Vas korisnicki racun nije registrovan...\nUpisite vasu lozinku da bi ste se registrovali\n\nLozinka: "CRVENA"Min 6/Max 26 znakova\n\n"BELA"________________________________________________",regname);
      ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,""BELA"Lozinka",regstring,"Registracija","Izlaz");
        MozeProc[playerid] = 1;
       return 1;
    }
[/pawn]

evo @\nLucius
Naslov: Odg: TextDraw textsize i clickable
Poruka od: anderson87 poslato Jul 31, 2017, 15:23:10 POSLE PODNE
[pawn]PlayerTextDrawTextSize(playerid, RegTD[playerid][0], 0.000000, 120.000000);[/pawn]
Obrisi i probaj hoce li clickat
Naslov: Odg: TextDraw textsize i clickable
Poruka od: Delicâ„¢ poslato Jul 31, 2017, 16:23:10 POSLE PODNE
skontao sam sam evo hvala svima koji su pokusali pomoc