Jump to content

HudMessage Error


Zulk RS

Recommended Posts

I was trying to use this HudMessage function in ACS but I keep getting a "Invalid statement error.

script 2(void)
{
void HudMessage(s:"Don't jump off moving vehecles kids. \n This PSA is brought to you by ZULK RS."; HUDMSG_PLAIN, 0, CR_GOLD, 0.5, 0.5, 5);
}
I don't know what I'm doing wrong. Can someone please help?

Share this post


Link to post

Umm... I ran into a different problem this time.
I used this code:

script 4 (void)
{
	HudMessage(s:"You didn't need to come here, you know.\n But, since you're here, congratulations on finding the first text slate!"; HUDMSG_PLAIN, 0, CR_PURPLE, 0.5, 0.5, 6.0);
	Delay (35.0);
	HudMessage(s:"Just so you know, the exit switch is the computer panel in the small cart with the imp in it.\n The one near the spot where you teleported in."; HUDMSG_PLAIN, 0, CR_PURPLE, 0.5, 0.5, 7.0);
	Delay (35.0);
	HudMessage(s:"Good luck!"; HUDMSG_PLAIN, 0, CR_PURPLE, 0.5, 0.5, 1.0);
}
Instead of waiting 1 sec after each message has stopped showing before showing the next one, it just doesn't show anything at all.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...