Description ​
Returns whether the Player is an employee of a business
Arguments ​
string
- The business name (Case sensitive)Player
- The Player to check
Returns ​
bool
- True if the player is the CEO of the business
Example ​
msc
using Console;
using Business;
using Player;
Player ventz = Player.GetBySteamID("STEAM_0:1:34409736");
if (ventz.IsValid())
{
bool isCeo = Business.IsCEO("Egg", ventz);
if (isCeo)
{
Console.WriteLine("Ventz is the CEO!");
}
else
{
Console.WriteLine("Ventz is NOT the CEO!");
}
}
// OUTPUT:
// Ventz is the CEO!