[HELP] Dialog Title
#5

This is what i do,

pawn Код:
#define SPAWNER_1   "TEXT HERE\n"
#define SPAWNER_1   "TEXT HERE\n"
#define SPAWNER_2   "TEXT HERE\n"
#define SPAWNER_4   "TEXT HERE\n"
#define SPAWNER_5   "TEXT HERE\n"
#define SPAWNER_6   "TEXT HERE\n"
#define SPAWNER_7   "TEXT HERE\n"
#define SPAWNER_8   "TEXT HERE\n"
#define SPAWNER_9   "TEXT HERE\n"
Then

pawn Код:
stock putnamehere(playerid)
{
    CMDSString = "";
    strcat(CMDSString, SPAWNER_1);
    strcat(CMDSString, SPAWNER_2);
    strcat(CMDSString, SPAWNER_3);
    strcat(CMDSString, SPAWNER_4);
    strcat(CMDSString, SPAWNER_5);
    strcat(CMDSString, SPAWNER_6);
    strcat(CMDSString, SPAWNER_7);
    strcat(CMDSString, SPAWNER_8);
    strcat(CMDSString, SPAWNER_9);
    ShowPlayerDialog(playerid, DialogID, DIALOG_STYLE_MSGBOX, "(top dialog text name here)", CMDSString, "Play", "Cancel");
    return 1;
}
Then for the command,

pawn Код:
putnamehere(playerid);
Works fine for me and i have dialogs with over 1500 - 3000 characters in them.


EDIT: Just relised that i thought you was talking about something esle so ignore me, Maybe the Hex Codes is included in the 64 character limit.

I will leave the top pawn code i replyed with just incase it helps someone.
Reply


Messages In This Thread
[HELP] Dialog Title - by Mattos - 30.11.2011, 22:47
Re: [HELP] Dialog Title - by Richie - 30.11.2011, 22:50
Re: [HELP] Dialog Title - by Mattos - 30.11.2011, 22:55
Respuesta: [HELP] Dialog Title - by OPremium - 30.11.2011, 23:07
Re: [HELP] Dialog Title - by morris91 - 01.12.2011, 00:42

Forum Jump:


Users browsing this thread: 2 Guest(s)