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

An item to send message for all players!

ADMShadow

New Member
Joined
Mar 3, 2011
Messages
23
Reaction score
0
Location
Brazil, Rio de Janeiro :B
I would like to have an item that you can use it to send a message for ALL THE PLAYERS OF THE OTSERVER, like the commands /bc or /b..

I use TFS 0.4 and Tibia 8.60.

Thanks a lot xD
 
Test it
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)

	if(isPlayer(cid)== TRUE then
        	doBroadcastMessage("WARNING: Game map cleaning within 30 seconds, please pick up your items!")
	end
return TRUE
end
 
Lua:
function onTextEdit(cid, item, newText)
	doBroadCastMessage(newText)
return TRUE
end
item must be a writable item, like a book or a scroll.
whatever you write in it, it will be broad casted.
 
I use TFS 0.4 and Tibia 8.60.

Test it
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)

	if(isPlayer(cid)== TRUE then
        	doBroadcastMessage("WARNING: Game map cleaning within 30 seconds, please pick up your items!")
	end
return TRUE
end

Lua:
function onTextEdit(cid, item, newText)
	doBroadCastMessage(newText)
return TRUE
end
item must be a writable item, like a book or a scroll.
whatever you write in it, it will be broad casted.

http://otland.net/f16/no-support-private-svn-forgotten-server-0-4-here-132978/
 
Back
Top