Jump to content
  • 0

Problem /help pe dialog


calin1996

Question

10 answers to this question

Recommended Posts

Asa se foloseste strcat

Pai c evezi tu acol e doar inceputu,mai am si alte linii,si linia [pawn]ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "strcat example", string, "Close", "");[/pawn]

Sunt puse toate doar ca nu-mi apare..

Ia vezi la :

new HelpString[1073]
Ca ai mancat
;

...

PAi si la compile nu imi dadea erori daca nu-l aveam??

Link to comment
Share on other sites

Exemplu:

[pawn]

#define        DIALOG_HELP          4864

new d_hString [ 1024 ];

strcat( d_hString, "Continut ...................................... \n\

                              Continut.........................................\n\

                              Continut.........................................\n");

strcat( d_hString, "etc .............................................. \n\

                              etc ..............................................\n");

ShowPlayerDialog( playerid, DIALOG_HELP, DIALOG_STYLE_MSGBOX, "Titlu", g_hString, "Exit", "" );

[/pawn]

communitylogosml.png

94.23.120.101:7778

Link to comment
Share on other sites

PawnFox" post="123720" timestamp="1335966094"]

Exemplu:

[pawn]

#define        DIALOG_HELP          4864

new d_hString [ 1024 ];

strcat( d_hString, "Continut ...................................... \n\

                              Continut.........................................\n\

                              Continut.........................................\n");

strcat( d_hString, "etc .............................................. \n\

                              etc ..............................................\n");

ShowPlayerDialog( playerid, DIALOG_HELP, DIALOG_STYLE_MSGBOX, "Titlu", g_hString, "Exit", "" );

[/pawn]

Acceasi treaba

Link to comment
Share on other sites

ExTREME" post="123757" timestamp="1335973639"]

Mda De ce nu faci asa

[pawn]new string[512];

strcat( string, "Cont: ....................\n" );

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

ShowPlayerDialog( playerid, 123, DIALOG_STYLE_MSGBOX, "Help", string, "K", "N" );[/pawn]

Ce ai zis tu e la fel ca ce a zis  [V]PawnFox ..

Ia posteaza aici toata comanda .. ;) Sa vedem cum sta treaba .

Link to comment
Share on other sites

CMD:help(playerid, params[])

{

  new string[2024];

      strcat(string,"\nTeeeeeeeeeeeeeeeeeeeeeeeeext");

  strcat(string,"\nTeeeeeeeeeeeeeeeeeeeeeeeeext");

  strcat(string,"\nTeeeeeeeeeeeeeeeeeeeeeeeeext");

  ShowPlayerDialog(playerid,0001,DIALOG_STYLE_MSGBOX,"Text",string,"-->oK<--", "Cancel");

  return 1;

}

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.