A little script help?
#4

Код:
    format(fstring,300,"%s\n%s\n%s\n%s\n%s",string[0],string[1],string[2],string[3],string[4]);
The full dialog:
Код:
 
new dstring[300];
    format(fstring,300,"%s\n%s\n%s\n%s\n%s",string[0],string[1],string[2],string[3],string[4]);
    for(new i=0;i<MAX_PLAYERS;++i)
    {
        if(IsPlayerConnected(i))
        {
            ShowPlayerDialog(i,DIALOG_TOP,0,"TOp 5",dstring,"OK","");
        }
EDIT: I changed 'fstring' to 'dstring', and it compiled, i'm guessing I'm good?
Reply


Messages In This Thread
A little script help? - by xSiiLenTx - 18.08.2012, 03:31
Re: A little script help? - by FireCat - 18.08.2012, 03:33
Re: A little script help? - by BigAl - 18.08.2012, 03:33
Re: A little script help? - by xSiiLenTx - 18.08.2012, 03:36
Re: A little script help? - by BigAl - 18.08.2012, 03:37
Re: A little script help? - by BigAl - 18.08.2012, 03:41

Forum Jump:


Users browsing this thread: 3 Guest(s)