• 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 Step on tile, white text appears on your screen [Request]

Tibia Rox

Member
Joined
Feb 4, 2009
Messages
1,181
Reaction score
9
Location
U.S.A
Hello, I'm searching for a scriptthat does the following:

When you step on tile x: xxxx y: yyyy z: zzzz, a white message appears on your screen, similar to a broadcast message, but this message only goes to the player. Once youve stepped on it, you cant step on it again to see the same message.

Thanks in advance,
Tibia Rox
 
LUA:
function onStepIn(cid, item, position, fromPosition)
	if isPlayer(cid) and getCreatureStorage(cid, 256) == -1 then
		doCreatureSetStorage(cid, 256, 1)
		doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, 'Your text here.')
	end
end
 
Back
Top