Jump to content
SuperKad

Talk as SYSTEM

Recommended Posts

Baddog-11

Not sure if this is the right one nor if it is still working.

-- SHOW SYSTEM MESSAGE
function SystemMessage(message)
  if not managers or
   not managers.chat or
   not message then
   return
  end
  managers.chat:_receive_message(1, managers.localization:to_upper_text( "menu_system_message" ), message, tweak_data.system_chat_color)
end

This should be first part of the code to make it possible to send messages.

And with this:

SystemMessage('TexT')
You should then be able to send the message as System
  • Upvote 3

Share this post


Link to post
Share on other sites
SuperKad

 

Not sure if this is the right one nor if it is still working.

 

-- SHOW SYSTEM MESSAGE
function SystemMessage(message)
  if not managers or
   not managers.chat or
   not message then
   return
  end
  managers.chat:_receive_message(1, managers.localization:to_upper_text( "menu_system_message" ), message, tweak_data.system_chat_color)
end

This should be first part of the code to make it possible to send messages.

And with this:

SystemMessage('TexT')
You should then be able to send the message as System

 

Is that feature going to be added or can you help me with how to put that into PP?

I guess something like INSERT button to toggle your chat between talking as SYSTEM and talking as yourself?

Share this post


Link to post
Share on other sites
SuperKad

 

Not sure if this is the right one nor if it is still working.

 

-- SHOW SYSTEM MESSAGE
function SystemMessage(message)
  if not managers or
   not managers.chat or
   not message then
   return
  end
  managers.chat:_receive_message(1, managers.localization:to_upper_text( "menu_system_message" ), message, tweak_data.system_chat_color)
end

This should be first part of the code to make it possible to send messages.

And with this:

SystemMessage('TexT')
You should then be able to send the message as System

 

Well it works, except other people can't see the message...

Why does it work with the feature, 'joining without pausing the game'? Can't it be done that way?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Stop being a peeping tom and join the community.... we got cookies

Join the crew now

Sign in

Already part of the crew? Board right here

Sign In Now

×