Odd compiler error...
#7

Here is what I found when I had the same error.

Quote:
Originally Posted by HyperZ
On top of ur script:
pawn Code:
new LongDialog [ 1024 ];
OnGameModeInit/OnFilterScriptInit:
pawn Code:
SetUpMyText();
Command:
pawn Code:
ShowPlayerDialog(playerid, 555555, DIALOG_STYLE_MSGBOX,"Dialog Title",LongDialog, "button 1", "button 2");
Somewhere in ur script
pawn Code:
SetUpMyText()
{
    LongDialog = "Bla bla bal\n";
    strcat(LongDialog, "Bla bla bal\n");
    strcat(LongDialog, "Bla bla bal\n");
    strcat(LongDialog, "Bla bla bal\n");
    strcat(LongDialog, "Bla bla bal\n");
    return 1;
)
Reply


Messages In This Thread
Odd compiler error... - by Scenario - 15.12.2011, 02:59
Re: Odd compiler error... - by Steven82 - 15.12.2011, 03:00
Re: Odd compiler error... - by Scenario - 15.12.2011, 03:12
Re: Odd compiler error... - by Steven82 - 15.12.2011, 03:20
Re: Odd compiler error... - by Joe Staff - 15.12.2011, 04:22
Re: Odd compiler error... - by XFlawless - 15.12.2011, 05:52
Re: Odd compiler error... - by suhrab_mujeeb - 15.12.2011, 06:40
Re: Odd compiler error... - by Scenario - 15.12.2011, 10:51

Forum Jump:


Users browsing this thread: 1 Guest(s)