A little script help?
#1

"error 017: undefined symbol "fstring""
Reasoning? Help?
Reply
#2

fstring?
What do you mean by that?
Reply
#3

Show us the code.
Reply
#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
#5

you have new dstring... not new fstring.. change it
Reply
#6

pawn Код:
new fstring[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",fstring,"OK","");
        }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)