Jump to content
  • 0

Intrebare legata de un sistem de login


Alex_SuspanS

Question

Problema intalnita (descriere):Vreau si eu sa fac un system de login/register pe textdraw-uri,si am facut doar textdraw-urile dar nu stiu cum sa fac butoanele alea sa le poti apasa si cand apesi sa zicem login sa iti apara un dialog in care sa scri parola
Ero(area / rile) / warning-(ul / urile):Nu e o eroare
Liniile de cod / sursa / script-ul(obligatoriu):Nu e in pawno eroare sau ceva..
Imagini / Video (optional):http://postimg.org/image/o9lxm4pp3/     (butoanele acelea cu register si login care se vad in poza nu stiu sa le fac sa dai click pe ele si iti apara un dialog d-ala)
Ati incercat sa rezolvati singur?:Da,si mi-am luat o mare teapa :)) de aceea am decis sa va intreb pe voi,multumesc anticipat!

Edited by Alex_SuspanS
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Unde ai creat textdrawul adagi asta

 

TextDrawSetSelectable(Text:i, 1);

Cand iti arata textdrawul adaugi asta pentru a putea sa il selectezi

SelectTextDraw(playerid, 0x00FF00FF);

Si dupa cauti onplayerclicktextdawu si faci ce iti trebuie

 

public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == gTextDraw)
    {
         SendClientMessage(playerid, 0xFFFFFFAA, "You clicked on a textdraw.");
         CancelSelectTextDraw(playerid);
    }
    return 1;
}

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.