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

Broadcast message not working in 2.5

mikeware

New Member
Joined
Jul 17, 2007
Messages
338
Reaction score
0
Location
Brazil
Hey, I noticed that in the TFS 2.5 the broadcastmessage function is not working anymore... It was in 2.4

Here is how i was using in 2.4 (it was working)
Code:
broadcastMessage('message')

and now in 2.5:
Code:
broadcastMessage('message', 18)

changed ' to " but no changes, keep don't working, im using it wrong or it's a bug?

thanks
 
the correct form is.
broadcastMessage(message, type)

try this
broadcastMessage(Yoyo, 2)
 
You forgot to make it like this:
Code:
broadcastMessage('Xero owns', 2)


I gues it's unsessesary because it was an test, he said he tryt that already


Anywais mikeware could u post me your broad cast npc so i can take a look at it?
 
What's the diferent types? I guess the type thing was meaning the diferent messages in global.lua:
Code:
MESSAGE_STATUS_WARNING = 18
MESSAGE_EVENT_ADVANCE = 19
MESSAGE_EVENT_DEFAULT = 20
MESSAGE_STATUS_DEFAULT = 21
MESSAGE_INFO_DESCR = 22
MESSAGE_STATUS_SMALL = 23
MESSAGE_STATUS_CONSOLE_BLUE = 24
MESSAGE_STATUS_CONSOLE_RED  = 25
 
Tested again and keep not working, that's how im using:
broadcastMessage('message', 2)


simply don't appear the message...
 
Why do you use 2? The message types are between 18 to 25.
 
Back
Top