Input Line too long
#8

Just do it like that, move the long line in a seperated one (without commas)!
pawn Код:
//
    ShowPlayerDialog(playerid, DIALOG_WEAPONS, DIALOG_STYLE_LIST, "Weapon-Menu",
        "9mm's - $250\nSilenced 9mm - $500\nSawnOff - $30000\nCombat Shotgun - $1500\nMicro UZIs - $2000\nMP5 - $2500\nAK47 - $3000\nCountry Rifle - $5000\nSniper Rifle - $15000\nArmour - $20000\nFlamethrower - $700000\nSpraycan - $10000\nKatana - $500\nTec9 - $400\nDildo - $5\nBaseball Bat - $1000\nFlowers - $30\nSatchel Charges - $300000\nGrenades - $100000\nChainsaw - $15000\nFire Extinguisher - $15000\nRocket Launcher - $200000\nMinigun - $500000"
            , "OKAY", "CANCEL");
That will work because every seperated line gets his own limit (around ~500 char), you text is only 447 char long

If you go over the limit DONT use strcat, just use global variables
Because if you use strcat you do nothing else than contracting global saved data
With a global variable you dont need to contract if afterwards!
Reply


Messages In This Thread
Input Line too long - by Blackazur - 11.11.2012, 11:01
Re: Input Line too long - by InfiniTy. - 11.11.2012, 11:02
AW: Input Line too long - by Blackazur - 11.11.2012, 11:03
Re: AW: Input Line too long - by InfiniTy. - 11.11.2012, 11:07
AW: Input Line too long - by Blackazur - 11.11.2012, 11:18
Re: AW: Input Line too long - by InfiniTy. - 11.11.2012, 11:20
AW: Input Line too long - by Blackazur - 11.11.2012, 11:23
AW: Input Line too long - by Nero_3D - 11.11.2012, 12:01

Forum Jump:


Users browsing this thread: 2 Guest(s)