Draw to Screen

Discussion in 'Rust Development' started by lederp ツ, May 7, 2015.

  1. Hey,

    I'm wondering if anyone is aware of a way to draw text on the players screen (not ddraw.text as this is based on location).

    I have tried a few different things, such as GUI, UI, GL, ofcourse all of these try to render server side.

    Any help would be appreciated.

    Thanks
     
  2. We have only 1 way to draw custom text on player's screen:
    Code:
    rust.SendChatMessage({ player, message });
     
  3. Hi there,

    Afaik that only adds it to the chat box, I am hoping to have it in the top left/right of the screen :)
     
  4. we can't do it now, but you can try to draw that text through ddraw.text (you need to update ddraw.text every 0.01 sec :p)
     
  5. Haha yes that is what I was trying :p however it looks really ugly, thanks anyway. It was worth asking!