Jump to content
  • 0

Dialog Info


MoMu

Question

Salut as vrea sa fac un dialog, atunci cand intra un polayer nou sa scrie /info si sa apara un dialog cu lucrurile importante de care se paote bucura pe server..

Adica:

Salut...

1) Poti viziat stadionul basket de pe winnewod

2) poti vizita , etc

ps: pls

Fac mape personalizate dupa placul dumneavoastra.. la pret de 2 euro Orange .. contact Y'M: mihay_toha

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Poti folosi strcat

Ex:

[pawn]

new string[256];

strcat(string,"Poti vizita:\n");

strcat(string,"1.Stadionul\n");

strcat(string,"2.Basket\n");

strcat(string,"3.......\n");

ShowPlayerDialog(playerid, id dialog, DIALOG_STYLE_MSGBOX,"Tour",string,"Accept","");[/pawn]

sau

format

[pawn]new string[256];

format(string, sizeof(string), " Poti vizita:\n 1.Stadionul \n 2.Basket \n 3......");

ShowPlayerDialog(playerid, id dialog, DIALOG_STYLE_MSGBOX,"Tour",string,"Accept","");[/pawn]

sau

simplu

[pawn]

ShowPlayerDialog(playerid, id dialog, DIALOG_STYLE_MSGBOX,"Tour",Poti vizita:\n 1.Stadionul ......,"Accept","");[/pawn]

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

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.