PlayerManager - HockeyQuestionMark/HockeyEditor GitHub Wiki
Properties
Property | Returns | Description | Read Only? |
---|---|---|---|
Players | Player[] | An array of Player objects for every player in the server | Yes |
EmptySlots | Player[] | An array of empty Player slots in the server | Yes |
LocalPlayer | Player | Refers to the player on your client (the player that you control) | Yes |
Methods
Method | Returns | Parameters | Description |
---|---|---|---|
GetPlayerFromName(string name) | Player | string name: The name of the player to search for | Attempts to find a player by name |