• 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] (LuaInterface::luaGetThingPosition) Thing not found HELP!

Leyenda

New Member
Joined
Jul 13, 2012
Messages
28
Reaction score
1
Hey there, im making a talkaction that shows a Text Dialog ONLY if the player is on some specific positions, but i get this error on the server log: (LuaInterface::luaGetThingPosition) Thing not found
I dont know whats wrong.. the "thing" is the player.. heres the code
PHP:
local positions = {
	{x = 533, y = 511, z = 7}, 
	{x = 607, y = 512, z = 7}, 
	{x = 488, y = 470, z = 7}, 
	{x = 558, y = 470, z = 7}
}
local ActualPos = getCreaturePosition(cid)
function onSay(cid, words, param, channel)
	if ActualPos == positions then
			doShowTextDialog... bla bla bla lots of letters in here
	end
end
 
Back
Top Bottom