Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Solved] FontString only in spectator HUD

[Solved] FontString only in spectator HUD

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
1 Posts 1 Posters 124 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • vivia1990undefined Offline
    vivia1990undefined Offline
    vivia1990 Contributor
    wrote on last edited by vivia1990
    #1

    Hi,
    I'm new with gsc modding and i really don't understand a thing atm.
    When you are in spectator mode, specting someone, you see his HUD (+ some other things es 3d person etc...).
    So if i create some fontString for the player HUD (i.e. a welcome message) even the spectator can see that.
    But in my case that's not a problem.
    Anyway now i want to create a fontString for the spectator HUD only, is it possible?
    Because when i create the message, for the spectator user, it doesn't appear (because he's looking at the current spectating player HUD i think).
    And anyway when the player spawn the message will show up, so it's not a problem of the message itself.
    In short, Is there a way to edit the spectator's HUD and showing some messages only to them?

    Thanx

    -- Edit
    I solved! Just use this property -> message.archived = 0;
    Idk why it works but... it works ♥

    1 Reply Last reply
    0

    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Donate