Dialog help...
#2

Becose that line is too long.

Try this:

Top of the script:

pawn Код:
#define VipDialogLenght 500
static VipDialog[VipDialogLenght];
OnGameModeInit:
pawn Код:
strcat(VipDialog, "Vehicle Commands\nStatic Changes\nCustom Spawnpoints\nRestricted Clothes\nAdvertisement Specials\nTAB Color Activation\nVIP Clothing Store\nVIP Weapon Store (VIP-Points)\n", VipDialogLenght);
strcat(VipDialog, "VIP Drug Store (VIP-Points)\nVIP Community Specials\nVIP Weapon Shop\nVIP Special Weapon Store (VIP-Points)\nVIP Vehicle Changer\nVIP Business Refiller\nSpecial VIP Options\nTemporary VIP Packages\n", VipDialogLenght);
strcat(VipDialog, "VIP Special Weapon Shop\nMonthly VIP Packages\nPrivate Music Folder\nProperty / Level Switcher", VipDialogLenght);
And in your Dialog line, change to this:
pawn Код:
ShowPlayerDialog(playerid, 16, DIALOG_STYLE_LIST, "VIP Specials and Package features", VipDialog, "Choose", "Cancel");
Reply


Messages In This Thread
Dialog help... - by MichaelWharton101 - 06.05.2013, 21:18
Re: Dialog help... - by Jf - 06.05.2013, 21:27
Re: Dialog help... - by MichaelWharton101 - 06.05.2013, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)