Jump to content
  • 0

Help dialog



Problema intalnita (descriere): am facut un dialog la comanda /help imi arata Chat commands , House commands tot tabelu dar cand selectez ceva nu imi deschide sa imi arate comenzile
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu): http://pastebin.com/fPWChBRc
Imagini / Video (optional): -
Ati incercat sa rezolvati singur?: da... si nu intelege care ar putea fi problema

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Incearca in loc de listitem sa folosesti case-uri . De exemplu, pentru  listitem == 0

case 0:
	ShowPlayerDialog(playerid, DIALOG_HELP2, DIALOG_STYLE_MSGBOX, "SERVER: Account Commands", "/stats /buylevel /changepass","Back","Exit");

fa asa si vezi daca functioneaza . Apropo,  celelalte dialog-uri le ai definite ? DIALOG_HELP2 ?

Edited by NoNamed
Link to comment
Share on other sites

  • 0

sterge aia cu listitem == x si fa asa

                        new string1[MAX_STRING],string2[MAX_STRING],string3[MAX_STRING],string4[MAX_STRING],string5[MAX_STRING],string6[MAX_STRING],string7[MAX_STRING],string8[MAX_STRING],stringy[MAX_STRING];





case 0:  ShowPlayerDialog(playerid, DIALOG_HELP2, DIALOG_STYLE_MSGBOX, "SERVER: Account Commands", "/stats /buylevel /changepass","Back","Exit");

case 1: 

format(string1, sizeof(string1), "*** Other *** /cellphonehelp /househelp /renthelp /businesshelp /wthelp /vhelp  /leaderhelp /eventhelp /clanhelp");

 ShowPlayerDialog(playerid, DIALOG_HELP2, DIALOG_STYLE_MSGBOX, "SERVER: Other Commands", stringy,"Back","Exit");

case 2:   

  1.                             format(string1, sizeof(string1), "*** GENERAL *** /admins /helpers /report /helpme /accept /cancel /pay /hqs /charity /givekey /switchkey /shop");
  2.                                 format(string2, sizeof(string2), "*** GENERAL *** /showlicenses /contract /spawnchange /animlist /gps /achievements /findbiz /findhouse");
  3.                             format(string3, sizeof(string3), "*** GENERAL *** /wars /top /topclans /turfs");
  4.                             format(stringy, sizeof(stringy), "%s\n%s\n%s", string1, string2, string3);

ShowPlayerDialog(playerid, DIALOG_HELP2, DIALOG_STYLE_MSGBOX, "SERVER: General Commands", stringy,"Back","Exit");

si tot asa


Link to comment
Share on other sites

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.