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.
Everyone can see the message in orange, I want only the player to see it.
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.