}
case 165:
{
switch(response)
{
case 1: // Selecting
{
new string[1024], string2[128], text[7][256];
format(text[0], 256,"/b, /me, /do, /shout, /time, /changepass /enter /exit, /animlist, /togradio, /hud, /cellphone, /afkers, /requestadmin, /plantradio");
format(text[1], 256,"\n/drugs, /pay, /w, /give, /id, /pm, /shake, /tognews, /calllist, /takegun, /newspaper, /togf, /ame, /gloves, /rapsheet");
format(text[2], 256,"\n/togpm, /changename, /wt, /setfreq, /accept, /coin, /walkstyle, /fightstyle, /putgun,/calculate,/togb, /cad, /mreport");
format(text[3], 256,"\n/checkseatbelt, /pickitem, /tickets, /payticket, /guide, /ad, /prefix, /hidenumber, /silencer, /divorce, /blindfold, /unblind");
format(text[4], 256,"\n/appearance, /describe, /inventory, /createnote, /deletenote, /notes, /givenote, /dragoffer, /clothing, /clearchat");
format(text[5], 256,"\n/putciggy, /putbeer, /putwine, /takeciggy, /takebeer, /takewine, /payphone, /drop, /hiddennumber, /buildfire, /(ach)ievements");
format(text[6], 256,"\n/f, /r, /quitfaction, /flist, /factionon, /factionhelp");
format(string,sizeof(string), text[0], text[1], text[2], text[3], text[4], text[5], text[6]);
format(string2,sizeof(string2),"Help");
ShowPlayerDialog(playerid,165,DIALOG_STYLE_MSGBOX,string2,string,"Options", "Cancel");
}
case 165:
{
switch(response)
{
case 1: // Selecting
{
new string[1000], string2[128], text[256];
format(text, 256,"/b, /me, /do, /shout, /time, /changepass /enter /exit, /animlist, /togradio, /hud, /cellphone, /afkers, /requestadmin, /plantradio");
strcat(string,text);
format(text, 256,"\n/drugs, /pay, /w, /give, /id, /pm, /shake, /tognews, /calllist, /takegun, /newspaper, /togf, /ame, /gloves, /rapsheet");
strcat(string,text);
format(text, 256,"\n/togpm, /changename, /wt, /setfreq, /accept, /coin, /walkstyle, /fightstyle, /putgun,/calculate,/togb, /cad, /mreport");
strcat(string,text);
format(text, 256,"\n/checkseatbelt, /pickitem, /tickets, /payticket, /guide, /ad, /prefix, /hidenumber, /silencer, /divorce, /blindfold, /unblind");
strcat(string,text);
format(text, 256,"\n/appearance, /describe, /inventory, /createnote, /deletenote, /notes, /givenote, /dragoffer, /clothing, /clearchat");
strcat(string,text);
format(text, 256,"\n/putciggy, /putbeer, /putwine, /takeciggy, /takebeer, /takewine, /payphone, /drop, /hiddennumber, /buildfire, /(ach)ievements");
strcat(string,text);
format(text, 256,"\n/f, /r, /quitfaction, /flist, /factionon, /factionhelp");
strcat(string,text);
//format(string,sizeof(string), text[0], text[1], text[2], text[3], text[4], text[5], text[6]);
format(string2,sizeof(string2),"Help");
ShowPlayerDialog(playerid,165,DIALOG_STYLE_MSGBOX,string2,string,"Options", "Cancel");
new string[1024];
format(string,sizeof string,"/b, /me, /do, /shout, /time, /changepass /enter /exit, /animlist, /togradio, /hud, /cellphone, /afkers, /requestadmin, /plantradio");
format(string,sizeof string,"%s\n/drugs, /pay, /w, /give, /id, /pm, /shake, /tognews, /calllist, /takegun, /newspaper, /togf, /ame, /gloves, /rapsheet",string);
format(string,sizeof string,"%s\n/togpm, /changename, /wt, /setfreq, /accept, /coin, /walkstyle, /fightstyle, /putgun,/calculate,/togb, /cad, /mreport",string);
format(string,sizeof string,"%s\n/checkseatbelt, /pickitem, /tickets, /payticket, /guide, /ad, /prefix, /hidenumber, /silencer, /divorce, /blindfold, /unblind",string);
format(string,sizeof string,"%s\n/appearance, /describe, /inventory, /createnote, /deletenote, /notes, /givenote, /dragoffer, /clothing, /clearchat",string);
format(string,sizeof string,"%s\n/putciggy, /putbeer, /putwine, /takeciggy, /takebeer, /takewine, /payphone, /drop, /hiddennumber, /buildfire, /(ach)ievements",string);
format(string,sizeof string,"%s\n/f, /r, /quitfaction, /flist, /factionon, /factionhelp",string);
ShowPlayerDialog(playerid,165,DIALOG_STYLE_MSGBOX,"Help",string,"Options","Cancel");
Hello!
It's enough if you write the code like this: PHP код:
|
use strcat ;_;
PHP код:
|
new string[1000], string2[128], text[256];
format(text, 256,"/b, /me, /do, /shout, /time, /changepass /enter /exit, /animlist, /togradio, /hud, /cellphone, /afkers, /requestadmin, /plantradio");
strcat(string,text);
format(text, 256,"\n/drugs, /pay, /w, /give, /id, /pm, /shake, /tognews, /calllist, /takegun, /newspaper, /togf, /ame, /gloves, /rapsheet");
strcat(string,text);
format(text, 256,"\n/togpm, /changename, /wt, /setfreq, /accept, /coin, /walkstyle, /fightstyle, /putgun,/calculate,/togb, /cad, /mreport");
strcat(string,text);
format(text, 256,"\n/checkseatbelt, /pickitem, /tickets, /payticket, /guide, /ad, /prefix, /hidenumber, /silencer, /divorce, /blindfold, /unblind");
strcat(string,text);
format(text, 256,"\n/appearance, /describe, /inventory, /createnote, /deletenote, /notes, /givenote, /dragoffer, /clothing, /clearchat");
strcat(string,text);
format(text, 256,"\n/putciggy, /putbeer, /putwine, /takeciggy, /takebeer, /takewine, /payphone, /drop, /hiddennumber, /buildfire, /(ach)ievements");
strcat(string,text);
format(text, 256,"\n/f, /r, /quitfaction, /flist, /factionon, /factionhelp");
strcat(string,text);
//format(string,sizeof(string), text[0], text[1], text[2], text[3], text[4], text[5], text[6]);
format(string2,sizeof(string2),"Help");
ShowPlayerDialog(playerid,165,DIALOG_STYLE_MSGBOX,string2,string,"Options", "Cancel");
new string[1000];
strcat(string,"/b, /me, /do, /shout, /time, /changepass /enter /exit, /animlist, /togradio, /hud, /cellphone, /afkers, /requestadmin, /plantradio");
strcat(string,"\n/drugs, /pay, /w, /give, /id, /pm, /shake, /tognews, /calllist, /takegun, /newspaper, /togf, /ame, /gloves, /rapsheet");
strcat(string,"\n/togpm, /changename, /wt, /setfreq, /accept, /coin, /walkstyle, /fightstyle, /putgun,/calculate,/togb, /cad, /mreport");
strcat(string,"\n/checkseatbelt, /pickitem, /tickets, /payticket, /guide, /ad, /prefix, /hidenumber, /silencer, /divorce, /blindfold, /unblind");
strcat(string,"\n/appearance, /describe, /inventory, /createnote, /deletenote, /notes, /givenote, /dragoffer, /clothing, /clearchat");
strcat(string,"\n/putciggy, /putbeer, /putwine, /takeciggy, /takebeer, /takewine, /payphone, /drop, /hiddennumber, /buildfire, /(ach)ievements");
strcat(string,"\n/f, /r, /quitfaction, /flist, /factionon, /factionhelp");
ShowPlayerDialog(playerid,165,DIALOG_STYLE_MSGBOX,"Help",string,"Options", "Cancel");