• 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!

Lua Console print

StreamSide

Joseluis Gonzalez
Staff member
Support Team
Joined
Aug 31, 2007
Messages
3,608
Solutions
51
Reaction score
1,224
Location
Arica - Chile
What prints getCreaturePosition(cid) on console? Just that, i'm asking this question because i don't have a server so i can't test it.
 
You mean like:
Lua:
local pos = getThingPos(cid)
print(string.format("x = %d, y = %d, z = %d", pos.x, pos.y, pos.z))
or did I understand you wrong?
 
No server?

Maybe you want to hook up on this, http://otland.net/f21/test-your-script-testserver-185993/

Sorry for offtopic

I alrdy read that but I'm not lightblueuser (i think there is a group here called like this<<) -premium user- so i can't test it jaja

Rly i'm doing this trying to helping in support/requests boards and i dont know what print getCreaturePosition(uid) jajaj

You mean like:
Lua:
local pos = getThingPos(cid)
print(string.format("x = %d, y = %d, z = %d", pos.x, pos.y, pos.z))
or did I understand you wrong?

well thats help me but i mean something like this:

onUse(blabla) print(getCreatureName(cid)) end < when i use it in console it will print >"Streamside"

if i use print(getCreaturePos(cid).x) in console >"x: 1000"

you understand? jajajaj

but i dont know what will print getCreaturePosition(cid) in console, so please anyone can make use this:

Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	print(getCreaturePosition(cid))
	return true
end
 
Back
Top