This module provides access and control over player metadata, which is useful for storing temporary or persistent player-specific values like stats, states, or tags.
GetPlayer(source)
Server side only
Retrieves the player object (as defined by the framework in use) from the given source ID.
Example:
localplayer=GetPlayer(playerId)
GetMetadata(player, key)
Retrieves the value of a metadata field from the given player.
If called client-side (player is nil), it triggers a server callback to retrieve metadata.