Dialog help...
#1

So umm... What I post below will tell it all....

Код:
case 16: // VIP Dialog
        {
        ShowPlayerDialog(playerid, 16, DIALOG_STYLE_LIST, "VIP Specials and Package features", "Vehicle Commands\nStatic Changes\nCustom Spawnpoints\nRestricted Clothes\nAdvertisement Specials\nTAB Color Activation\nVIP Clothing Store\nVIP Weapon Store (VIP-Points)\nVIP 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\nVIP Special Weapon Shop\nMonthly VIP Packages\nPrivate Music Folder\nProperty / Level Switcher", "Choose", "Cancel");
        }
error...
Код:
C:\Users\Michael\Desktop\everything\other\GTA\server\A-RP\gamemodes\A-RP.pwn(30005) : error 075: input line too long (after substitutions)
Reply
#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
#3

Worked like a charm, thanks bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)