Jump to content
Sign in to follow this  
Jamoose

Making Player's name appear in titletext?

Recommended Posts

How do I make the player's user name appear on a simple title text?

For example, I would have one person say (in titletext) to the player, "Hey how are you doing, X?", X being the player's user name.

Thanks,

Jamoose

Share this post


Link to post
Share on other sites

unit1 addaction ["Say Hello", "Hello.sqs"];

hello.sqs

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_unit = _this select 0

titleText [format["Hello, How are you %1?", _unit], "Plain"]

exit

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×