Org.GetOwnerSteamID
Skip to content
mnscript
string Org.GetOwnerSteamID() 

Description ​

Gets the org owner SteamID

Returns ​

string - The org owner SteamID

Example ​

msc
using Org;
using Console;
using Player;
using System;

// Finds the org of the player using the computer and shows the owner's SteamID.

Player user = System.GetUser();
Org org = Org.GetOrg(user);

if(org.IsValid()){
    // The org is valid, which means it exists.

    string steamid = org.GetOwnerSteamID();
    Console.WriteLine("The org owner's SteamID is: "..steamid);
}