Hi there I've got a problem. The script stops at function for, what's wrong with it?
local items = {
[40001] = {2166, 1, 6527, 200},
[40002] = {5785, 1, 6527, 1000},
[40003] = {2217, 1, 6527, 6000}
}
function onUse(cid, item, frompos, item2, topos)
doPlayerSendTextMessage(cid...