Name
The SD.Name
module provides functionality to retrieve player names.
Name.GetFullName
Purpose: Retrieves the passed players full name.
Parameters:
source (
number
): the player's server ID
Returns:
(
string
): Returns the full name of the player
Usage Example:
Name.GetFirstName
Purpose: Retrieves the passed players first name.
Parameters:
source (
number
): the player's server ID
Returns:
(
string
): Returns the first name of the player
Usage Example:
Name.GetLastName
Purpose: Retrieves the passed players Last Name.
Parameters:
source (
number
): the player's server ID
Returns:
(
string
): Returns the last name of the player
Last updated