Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help How to appear a text message on screen?
Steve Offline
Member

Posts: 178
Threads: 17
Joined: Jun 2012
Reputation: 7
#3
RE: How to appear a text message on screen?

This should work you only have to fill in the area's
void OnStart()
{
SetEntityPlayerInteractCallback("NAME_OF_OBJECT", "MSG", false);
}
void MSG(string &in entity)
{
SetMessage("Messages", "msgname", 0);
}
And in the .LANG file

<CATEGORY Name="Messages">
<Entry Name="msgname">Put Text Here.</Entry>
</CATEGORY>
(This post was last modified: 07-03-2012, 08:44 PM by Steve.)
07-03-2012, 06:11 PM
Find


Messages In This Thread
RE: How to appear a text message on screen? - by Steve - 07-03-2012, 06:11 PM



Users browsing this thread: 1 Guest(s)