1. So I'm looking to put a message to the players to see who I'm sending tp and who this admin pulling
    EX: AdminTeleportation: Gute teleport to EXAMPLE
     
  2. Wulf

    Wulf Community Admin

    Which plugin do you use for teleportation? If you use a plugin, it'd be best to request it there, otherwise you can use the OnRunCommand hook to listen for Rust's console commands.
     
  3. Admin Teleportation System for Rust Legacy | Oxide
    Can you help me thank you for the quick response
    [DOUBLEPOST=1457140226][/DOUBLEPOST]Place a prefix Admin Teleportation
    And shows who the administrator is teleporting
    [DOUBLEPOST=1457140723][/DOUBLEPOST]Sorry open topic in rust'm exp wanting to stop rust legacy
     
    Last edited by a moderator: Mar 5, 2016
  4. Place a God Mode prefix
    And it shows to players who are enabling godmode

    EX : GODMODE : Gute active godmode

    PLUGIN : VEGod for Rust Legacy | Oxide
     
    Last edited by a moderator: Mar 5, 2016
  5. Wulf

    Wulf Community Admin

    If this is a request for an existing plugin, it should also be posted under the plugin's support thread, else under Rust Requests if it is a new request.

    Also, please do not post in all caps, thank you.
     
  6. excuse me
     
  7. Is this solved, closed, open...? Sorry I don't understand the last message. With admin teleportation you can use rust.BroadcastChat
     
  8. rust.BroadcastChat is what your looking for or contact the creator.
     
  9. Can you help me ?
    CODE: rust.Broadcast Chat (Name chat, message); ?
     
  10. string name = "Oxide";
    string message = " has activated godmode";
    rust.BroadcastChat(name, netuser.displayName + message);
     
  11. I will test required
    [DOUBLEPOST=1457228463][/DOUBLEPOST]You can see if it's right?

    void ToggleGodMode(NetUser netuser)
    {
    string userid = netuser.playerClient.userID.ToString();,
    string name = "Oxide";
    string message = " has activated godmode";
    rust.BroadcastChat(name, netuser.displayName + message);

    if (!Gods.Contains(userid))
    {
     
  12. yup that should work.
     
  13. rust.BroadcastChat("Teleportation", netuser.displayName + " has teleported to " + targetuser.displayName);
     
  14. Last edited by a moderator: Mar 14, 2016
  15. Here you go, should work how you want it.
     

    Attached Files:

  16. OK, thank you even my friend
    [DOUBLEPOST=1457996134][/DOUBLEPOST]
    [Oxide] 4:58 PM [Error] AdminTeleportation plugin failed to compile!
    [Oxide] 4:58 PM [Error] AdminTeleportation.cs(243,112): error CS0103: The name `
    targetuser' does not exist in the current context



    I think it does not work
    [DOUBLEPOST=1457996215][/DOUBLEPOST]
    @xBDMx
     
  17. Try this.
     

    Attached Files:

  18. [Oxide] 5:06 PM [Debug] EnqueueCompilation called for an empty compilation
    [Oxide] 5:06 PM [Info] [Easy Chat] "MrMacko": 1 hck
    [Oxide] 5:06 PM [Info] AdminTeleportation was compiled successfully in 1094ms
    [Oxide] 5:06 PM [Info] Loaded plugin AdminTeleportation v1.0.0 by Reneb
    [Oxide] 5:06 PM [Warning] Missing plugin name prefix 'adminteleportation.' for p
    ermission 'canteleport' (by plugin 'AdminTeleportation')

    Thanks a friend
     
  19. Not a problem.
    [DOUBLEPOST=1457996924][/DOUBLEPOST]@Gute make sure you change the thread prefix to solved when you can, or maybe @Wulf would be so kind if needed :).