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

Solved Broadcast system annyone?

Tickit

Member
Joined
Feb 20, 2009
Messages
364
Reaction score
5
Location
Somewhere in the jungle of Sweden
Hi im looking for a broadcast system like:

You need one item to make one broadcast :)

Does someone got a script like this?

talkactions.xml
PHP:
	<talkaction words="!broadcast" event="script" value="broadcastservice.lua"/>[/QUOTE]

data\talactions\scripts\broadcastservice
[QUOTE]function onSay(cid, words, param, channel)
    if param == "" then
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You don\'t have anything to say.")
        doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
    return TRUE
    end
    if  param ~= "" and doPlayerRemoveItem(cid, 11319, 1) == TRUE then
	doBroadcastMessage(getPlayerName(cid) .." says:\n".. param, MESSAGE_STATUS_WARNING)
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have broadcasted.")
    else
        doPlayerSendCancel(cid, "You must have an addon doll to get this addon.")
    return TRUE
    end
end
 
Last edited:
Back
Top