11.11.2012, 12:01
Just do it like that, move the long line in a seperated one (without commas)!
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!
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");
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!