mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
fixes and additions
This commit is contained in:
@@ -201,6 +201,13 @@ function CLIENT:AddPlayer(PlayerName)
|
||||
return self
|
||||
end
|
||||
|
||||
--- Get number of associated players.
|
||||
-- @param #CLIENT self
|
||||
-- @return #number Count
|
||||
function CLIENT:CountPlayers()
|
||||
return #self.Players or 0
|
||||
end
|
||||
|
||||
--- Get player name(s).
|
||||
-- @param #CLIENT self
|
||||
-- @return #table List of player names or an empty table `{}`.
|
||||
@@ -608,4 +615,3 @@ function CLIENT:GetPlayerInfo(Attribute)
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user