Quantcast

Jump to content

» «
Photo

Help Message [C#]

2 replies to this topic
Kolopsel
  • Kolopsel

    Player Hater

  • Members
  • Joined: 18 Jun 2017
  • Germany

#1

Posted 01 October 2017 - 05:07 PM Edited by Kolopsel, 01 October 2017 - 05:08 PM.

Hello,

i would like to know if someone of you knows how to create a help message in the upper left of the screen ?

The Message looks like this :

 

http://resizeimage.n...xresdefault.jpg

 

Thank you for reading !


Unknown_Modder
  • Unknown_Modder

    Staff at GTA5-Mods.com

  • Members
  • Joined: 07 May 2015
  • Germany

#2

Posted 01 October 2017 - 05:28 PM

http://gtaforums.com...ying-help-text/


NightShark
  • NightShark

    Play Smarter Not Harder

  • Members
  • Joined: 06 Aug 2017
  • United-Kingdom

#3

Posted 01 October 2017 - 05:31 PM

public static void DisplayHelpTextThisFrame(string text)
{
     Function.Call(Hash._SET_TEXT_COMPONENT_FORMAT, "STRING");
     Function.Call(Hash._ADD_TEXT_COMPONENT_STRING, text);
     Function.Call(Hash._0x238FFE5C7B0498A6, 0, 0, 1, -1);
}
You need to call it every frame for as long as you need it on screen




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users