1. Code:
    var bumFights = {
        Title : "BumFights",
        Author : "Brimstone",
        Version : V(0,1,0),
        Description : "Let's spawn some people in and give them weapons",
        HasConfig : false,
       
        Init: function (){
            command.AddChatCommand('findme', this.Plugin, 'Smile');
            },
        Smile: function (player)
        {
                rust.SendChatMessage(player, "bumFights", player.transform.position.x, "0");
                rust.SendChatMessage(player, "bumFights", player.transform.position.y, "0");
                rust.SendChatMessage(player, "bumFights", player.transform.position.z, "0");
        },
    }
    If you type /findme on my server you get the proper coords but I am not sure why that works or where to look this command up. Any ideas?
     
  2. Assembly-CSharp.dll
     
  3. Wulf

    Wulf Community Admin

    The "transform.position" comes from the player object that you are using, which comes from Rust itself and is already provided to you.
     
  4. But the actual class, transform etc comes from UnityEngine.dll