getPlayerFromIdentifier

Bridge.getPlayerFromIdentifier(playerIdentifier)

Arguments

  • playerIdentifier (string): The identifier of the player.

Returns

  • player (object): The player object, if found.

Example Usage

local player = Bridge.getPlayerFromIdentifier("identifier")

print("Player: " .. tostring(player))

Return Structure

If player is found:

player object

If player is not found:

nil

Last updated