getName
Bridge.getName()
Arguments
none
Returns
fullName (string): The full name of the player, concatenated from
firstName
andlastName
.firstName (string): The first name of the player.
lastName (string): The last name of the player.
Example Usage
local nameData = Bridge.getName()
print("Full Name: " .. nameData.fullName)
print("First Name: " .. nameData.firstName)
print("Last Name: " .. nameData.lastName)
Return Structure
If player data is found:
{
fullName = 'John Doe',
firstName = 'John',
lastName = 'Doe'
}
If player data is not found:
{
fullName = '',
firstName = '',
lastName = ''
}
Last updated
Was this helpful?