getPlayerFromId

Bridge.getPlayerFromId(playerId)

Arguments

  • playerId (number): The ID of the player.

Returns

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

Example Usage

local player = Bridge.getPlayerFromId(123)

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

Return Structure

If player is found:

player object

If player is not found:

nil

Last updated