LucasFerraz
Systems Analyst
Why do not work? --no errors in console
Lua:
function onTarget(cid, target)
if isNpc(npcId) then
openShopWindow(cid, itemWindow, onBuy, onSell)
end
end