Too long line..
#3

Quote:
Originally Posted by Alpay0098
View Post
It must be something like this:
PHP Code:
new string1[128],string2[128],string3[128],stringt[1024];
format(string1sizeof(string1), "blah blah blah");
format(string2sizeof(string2), "blah2 blah2 blah2");
format(string3sizeof(string3), "blah3 blah3 blah3");
format(stringtsizeof(stringt), "%s\n%s\n%s"string1string2string3);
ShowPlayerDialog(playeridDIALOG_X,DIALOG_STYLE_LIST"Title"stringt"Done Button""Cancel Button"); 
Why should he using alot of strings?

take this as example

PHP Code:
new string[1024];
format(stringsizeof(string), "%sLeidimas vairuoti infernus(%s)\n",string, (Rangs[prang][tr1]) ? ("Yra") : ("Nera"));
format(stringsizeof(string), "%sLeidimas vairuoti elegy(%s)\n",string, (Rangs[prang][tr2]) ? ("Yra") : ("Nera"));
//Here can add more string messages
ShowPlayerDialog(playeridDDIALOG_XDIALOG_STYLE_LIST"Title"string"BUTTON1""BUTTON2"); 
Reply


Messages In This Thread
Too long line.. - by ,TomY' - 07.07.2016, 23:04
Re: Too long line.. - by Alpay0098 - 07.07.2016, 23:23
Re: Too long line.. - by IceBilizard - 08.07.2016, 03:04
Re: Too long line.. - by Napst34 - 08.07.2016, 03:08
Re: Too long line.. - by Mencent - 08.07.2016, 08:29
Re: Too long line.. - by Luicy. - 08.07.2016, 09:00
Re: Too long line.. - by gurmani11 - 08.07.2016, 09:57

Forum Jump:


Users browsing this thread: 1 Guest(s)