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

[request]Action where steps show message

subdark

New Member
Joined
Jun 9, 2008
Messages
26
Reaction score
0
Want a Action that when you step in Sqm show a message, always when someone step in the Sqm show the message
 
I quickly made one for you, here it is:

messagetile.lua
Code:
function onStepIn(cid, item, pos)
    if item.actionid == 3951 then
	if isPlayer(cid) == TRUE then
           doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'[COLOR="Red"]your message[/COLOR]')
end
end
end

Edit it to your message and put this in movements.xml

Code:
	<movevent event="StepIn" actionid="3951" script="messagetile.lua"/>
 
Back
Top