• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Is it even possible to output some values in text when programming?

Lasomanos

New Member
Joined
Sep 25, 2009
Messages
56
Reaction score
1
I have a script and want to check if it works correctly..
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
 
Back
Top