• 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 Problem with a script

Synergy

New Member
Joined
Nov 24, 2011
Messages
334
Reaction score
0
So..

You step into a tile and a message pops up.

What I want to change is that I want the player to recieve the message and not for everyone to see it.

Code:
local storage = 14238
local tilepos = {x = 994, y = 1032, z = 7}
 
   function onStepIn(cid, item, fromPosition, toPosition)
	if(getCreatureStorage(cid, storage) < 1) then
		doCreatureSay(cid, "ATTENTION BEGINNER!\nPlease read the sign.", TALKTYPE_MONSTER)
		doCreatureSetStorage(cid, storage, 1)
                doSendMagicEffect(tilepos, 56)
                doSendMagicEffect(tilepos, 55)
	end
end

Everyone can see the message in orange, I want only the player to see it.
 
Back
Top