Server
add_player
Adds a player object to the internal registry.
Parameters
player
table: The player object to register. Must contain a.source
field.
remove_player
Removes a player from the registry by source ID.
Parameters
source
number: The server ID of the player to remove.
clear_players
Clears all players from the registry.
Last updated