hello guys from otland
I would like to bring up a table in the function:doShowTextDialog
like that...
I know I can do like
but I do like the first example
I would like to bring up a table in the function:doShowTextDialog
like that...
PHP:
local monsters = {"fire elemental","water elemental","electric elemental","earth elemental",}
function onUse(cid, item, frompos, item2, topos)
doShowTextDialog(cid, item.itemid, monsters)
end
I know I can do like
PHP:
local monsters = {"fire elemental\nwater elemental\nelectric elemental\nearth elemental"}
but I do like the first example