I have a script and want to check if it works correctly..
part of the code:
same with this
if isPlayer(cid) then
doTransformItem(item.uid, item.itemid -1)
doSendAnimatedText(wallPos,"Crushhh",80)
doRemoveItem(getThingFromPos(wallPos).uid)
doPlayerSendTextMessage(cid, 22, isPlayer(cid))
It executed the condition (when I make it say "asd" it says asd) but when This, it doesnt say anything - empty message.
How to get output things from scripts? It would be really helpful. Thanks
why it doesnt say anything? Should it say something?thanks
part of the code:
Code:
local sacrifPos = {x=351, y=250, z=8, stackpos=255}
local sacrifItem = getTileItemById(sacrifPos, 3966)
doPlayerSendTextMessage(cid, 22, sacrifItem)
same with this
if isPlayer(cid) then
doTransformItem(item.uid, item.itemid -1)
doSendAnimatedText(wallPos,"Crushhh",80)
doRemoveItem(getThingFromPos(wallPos).uid)
doPlayerSendTextMessage(cid, 22, isPlayer(cid))
It executed the condition (when I make it say "asd" it says asd) but when This, it doesnt say anything - empty message.
How to get output things from scripts? It would be really helpful. Thanks
why it doesnt say anything? Should it say something?thanks