Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
GreenKat

HudMessages - how do you label a printed integer?

Recommended Posts

So i'm assigning a hood message to display an integer vairebale in ACS.

Quote

HudMessage(i:playerLevel);

(Note i haven't yet added in the parameters for colour, placement etc)

 

I want the player to know that the static number on display is their Player Level.

 

Is there an option to print a string of words right next to the integer? (If so how do i do it?). Or will i have to do it the long way by placing a second hudmessage to overshadow the interger on display :(

 

One more question....

 

Spoiler

What are the exact coordinates to place a message on upper left and uper right sections of the screen?

 

Share this post


Link to post

yeah, you can, by using multiple of the s:, i:, etc identifiers separated by commas. In this case, you'd want

HudMessage(s:"Player level: ",i:playerLevel;...);

Of course, depending on your desired formatting, you might need multiple hudmessages in order to render it right.

Share this post


Link to post
22 hours ago, Empyre said:

Oh, you posted twice, presumably by accident. I answered the other one.

Sorry i didn't even realise, thank you for you help as well :)

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×