Labik
New Member
- Joined
- Aug 3, 2010
- Messages
- 20
- Reaction score
- 0
LUA:
function onStepIn(cid, item, pos, fromPos)
if(item.actionid == 5300) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING,""..getCreatureName(cid)..", welcome in Samurai City.")
elseif(item.actionid == 5301) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING,""..getCreatureName(cid)..", welcome in Monk City")
elseif(item.actionid == 5302) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING,""..getCreatureName(cid)..", welcome in Bandit Camp")
elseif(item.actionid == 5303) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING,""..getCreatureName(cid)..", welcome in Ninja Camp")
end
end
If we enter on floor (aid: 5300) from north then script doesn't only if we enter from south script say message: NICK, welcome in Samurai City.. How i can make this? Help plax
Last edited: