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

Question

Posted

La compile nu am probleme,dar,cand dau /help imi apare titlul dialogului,si restu pauza,e gol...

Linie exemplu:

[pawn]new HelpString[1073]

    strcat( HelpString,":: CONT :: /reguli /login /stats /carstats /changepass /levelup /upgrade /askq");[/pawn]

Imagine:

samp022go.png

Uploaded with ImageShack.us

10 answers to this question

Recommended Posts

Posted

Cauta un tutorial pe forum cu dialogchatbox . Sunt multe tutoriale sigur o sa gasesti unu bun .

P.S: Trimite-mi si mie te rog frumos textdraw-ul acela cu Romania by ... . Mersi

Posted

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??

Posted

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

Posted

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

Posted

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]

Posted

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 .

Posted

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;

}

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.