1. ArrowParams = util.TableToArray({ 60, System.ConsoleColor.Lime, box.transform.position, "<color=red>" .. "X" .. "</color>"})
    global.ConsoleSystem.Broadcast("ddraw.text", ArrowParams)

    Whats a replacement for ConsoleSystem.Broadcast (this will draw an X at a position on everyones screen)
     
  2. Wulf

    Wulf Community Admin

  3. I seen that but im not broadcasting chat, but your saying rust.BroadcastChat( will do what i want?
     
  4. Wulf

    Wulf Community Admin

    ConsoleSystem.BroadcastToAllClients

    You can use Oxide's rust.SendClientCommand for sending a command though.
     
  5. Will give that a shot thanks, also the earlier error is fixed with new oxide.
     
  6. Wulf

    Wulf Community Admin

    I know, I said it was in the thread I merged your thread with. ;)
     
  7. Code:
        local pos = new( UnityEngine.Vector3._type, nil )
        pos.x = math.random(-ts, ts);
        pos.y = pos.y+1500;
        pos.z = math.random(-ts, ts);
        local ArrowParams = util.TableToArray({ 60, System.ConsoleColor.Lime, pos, "<color=lime>" .. "X" .. "</color>"})
        ConsoleSystem.BroadcastToAllClients("ddraw.text", ArrowParams)   
        rust.SendClientCommand("ddraw.text", ArrowParams)
    
    None of those worked : /
     
  8. Wulf

    Wulf Community Admin

    You'd have to use global in Lua for ConsoleSystem; for rust.SendClientCommand you'd need to supply the player, so if you want to use that for all, you'd need to loop through all players.
     
  9. Solved with global.ConsoleNetwork.BroadcastToAllClients("ddraw.text", 60, System.ConsoleColor.Lime, pos, "<color=lime>" .. "X" .. "</color>")
     
  10. wait so how can I use this to fix AdminRadar?
     
  11. Wulf

    Wulf Community Admin

    This is an old thread for when ConsoleSystem.Broadcast change to ConsoleNetwork.BroadcastToAllClients; unrelated to ddraw.text not working.
     
  12. is there an alternative to my global.ConsoleNetwork.BroadcastToAllClients("ddraw.text", 60, System.ConsoleColor.Lime, pos, "<color=lime>" .. "X" .. "</color>") command ?

    All i need is some sort of marker on pos, doesnt have to be ddraw.text
     
  13. Wulf

    Wulf Community Admin

    Use the 'find ddraw' command on your client, there are many options.
     
  14. ah..the vague put me to work answers lol ..find ddraw returns nothing in rcon ..i know theres ddraw.box and stuff i was hoping for someone to paste something ;)
     
  15. Wulf

    Wulf Community Admin

    It's a client command, you'd have to check your client or the DLLs. ddraw.box, ddraw.arrow, etc.
     
  16. ddraw is a client side command so you need to run find on the client
     
  17. found this in dll Gyazo - 7f5d10d5a62779be304ff80d203ef279.png

    im pretty sure my structure is right global.ConsoleNetwork.BroadcastToAllClients("ddraw.text", 60, System.ConsoleColor.Lime, pos, "<color=lime>" .. "X" .. "</color>")
     
  18. Wulf

    Wulf Community Admin

    That isn't going to help you... ddraw.text is broken, remember? You're using the exact same thing you used previously, it hasn't changed.
     
  19. Hopefully Unity patched it already so it can be used for tomorrow's update. :)