getName

Bridge.getName(frPlayer)

Arguments

  • frPlayer (object): The player object.

Returns

  • response (table): A table containing the full name, first name, and last name of the player.

Example Usage

local name = Bridge.getName(frPlayer)

print("Player Full Name: " .. name.fullName)
print("Player First Name: " .. name.firstName)
print("Player Last Name: " .. name.lastName)

Return Structure

If player is valid:

{
    fullName = "full name",
    firstName = "first name",
    lastName = "last name"
}

If player is not valid:

nil

Last updated