02.11.2014, 01:45
The code you posted there looks fine to me, from personal experience "Input line too long (after substitutions)" is usually caused by text or a string input being far too long for use within a dialog or 'ShowPlayerDialog'
Example:
Is far too long and returns the same error.
Example:
pawn Код:
ShowPlayerDialog(playerid, SHOPMENU, DIALOG_STYLE_LIST, "Server Shop", "Mobile Phone - $1000\nPhone Book - $1000\nGlasses - $1000\nCD-Player - $1000\nHamburger - $1000\nMasks - $1000\nScratchy - $1000\nDice - $1000\nVehicle Key - $1000\nCondom - $1000\nChicken - $1000\nPizza - $1000\nHoldable Items - $1000\nGPS Device - $1000\nFish Bait - $1000", "Buy", "Cancel");