stacey
Member
hi how do I make it so ever one can only have 1 player per account plz
Code:
/// <summary>
/// Gets the current number of characters on this account.
/// </summary>
public int Count
{
get
{
int count = 0;
for (int i = 0; i < this.Length; ++i)
{
if (this[i] != null)
++count;
}
return count;
}
}
/// <summary>
/// Gets the maximum amount of characters allowed to be created on this account. Values other than 1, 5, 6, or 7 are not supported by the client.
/// </summary>
public int Limit
{
get
{
return (Core.SA ? 7 : Core.AOS ? 6 : 5);
}
}
/// <summary>
/// Gets the maxmimum amount of characters that this account can hold.
/// </summary>