Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

3 answers to this question

Recommended Posts

Posted

[pawn]

if(dialogid==99)

{

  if(response)

  {

                if(listitem == 0)

  {

  ShowPlayerDialog(playerid,DIALOGID,DIALOG_STYLE_LIST,"Titlu",dialogstring,"Ok","Cancel");

}[/pawn]

rszadc33936a6e246e39ea2.png
Posted

Deci ai facut o comanda in care ai pus un dialog list si vrei sa apara alt dialog box cand alegi unul din iteme da ?

Pai te duci la OnDialogResponse si scri :

[pawn]if(dialogid== aici id-ul dialogului)

{

if(response)

{

if(listitem == 0)

{

  //aici dialogul box care vrei sa apara cand da pe primul item .

}

//si daca ai mai multe iteme mai scri if(listitem == 1) si dupa if(listitem == 2) si asa mai departe .

}

}[/pawn]

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.