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?
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#6
RE: How to appear a text message on screen?

void OnStart()
{
SetEntityPlayerInteractCallback("NAME_OF_OBJECT", "MSG", false);
}

void MSG(string &in entity)
{
SetMessage("Messages", "msgname", 1); //shows the message
}
.LANG file

<CATEGORY Name="Messages"> // start the category
<Entry Name="massage">put the message text here</Entry>
</CATEGORY> // ends the category

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
07-04-2012, 11:06 PM
Find


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



Users browsing this thread: 1 Guest(s)