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

Announcement blessing

crashwan

New Member
Joined
Oct 6, 2012
Messages
53
Reaction score
0
connecting or leave a protection zone, you send a message saying if you blessing or not
check

 
Lua:
function onStepOut(cid, item, position, lastPosition, fromPosition, toPosition, actor)
	if(getTileZoneInfo(fromPosition) == 'Protection')
		if(not isInArray({1, 2, 3, 4, 5}, getPlayerBlessing(cid))
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You aren't blessed.")
		else
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You are blessed.")
		end
	end
	return true
end

Put it in movements.
 
Back
Top