ItsClonkAndre Posted November 3, 2020 Share Posted November 3, 2020 Hello it's me again, It's a bit hard to explain, i'm trying to display text at the bottom center of the screen, but this text should be combined with a blip. Example text: "Follow the Train" Where "Train" is a blip on the map. Like i want to let the user know, where to go, like the original missions in gta iv. Here is an image of that what i want to achieve https://imgur.com/a/9pjKzAP This is my current function to display text at the center bottom of the screen: private void ShowMessage(string text, int time = 1000) { Function.Call("PRINT_STRING_WITH_LITERAL_STRING_NOW", "STRING", text, time, 1); } Link to comment Share on other sites More sharing options...
Teki Posted November 3, 2020 Share Posted November 3, 2020 (edited) You have to prefix the colored word with ~r~ and suffix it with ~s~ to go back to white. ShowMessage("~s~Kill the ~r~target~s~.", 1000) There are multiple colors available you can find them in Common/text/american.gxt with OpenIV (I picked my example from this file). You will have to manage the link with the blip. Edited November 3, 2020 by Teki ItsClonkAndre 1 Link to comment Share on other sites More sharing options...
ItsClonkAndre Posted November 3, 2020 Author Share Posted November 3, 2020 Nice, that's what i'm looking for! Thanks! Teki 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now