AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HUD message question (https://forums.alliedmods.net/showthread.php?t=11456)

v3x 03-20-2005 03:13

HUD message question
 
Alright, so I've got this bit of code..
Code:
set_hudmessage(250,11,0,0.01,0.19,0,6.0,12.0,0.1,0.2,4) show_hudmessage(0,"%s",message)
and I want it to show each message on a new line. How would I go about doing that?

NiGHTFiRE 03-20-2005 03:29

If I'm right isn't this the command to make a new line?
Code:
^n

v3x 03-20-2005 03:30

Tried it.. =\

NiGHTFiRE 03-20-2005 03:36

Ok, I just remember in the doc that to make some thing in a new line you should have like ^n. Well try this then ^n^n1.
I don't know if this is right or some thing

XxAvalanchexX 03-20-2005 03:58

Like they said, ^n should work.

Code:
set_hudmessage(250,11,0,0.01,0.19,0,6.0,12.0,0.1,0.2,4) show_hudmessage(0,"%s^n%s^n%s",message,message2,message3)

v3x 03-20-2005 03:59

Yea, but I'm running a single message repeatedly. Like @ message (in a way).


All times are GMT -4. The time now is 14:13.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.