GetPlayerIdentityNames
getPlayerIdentityNames
Returns every complete armor-free character identity supported by the server.
Syntax
table getPlayerIdentityNames()
Parameters
This function does not accept parameters.
Returns
Returns a one-based array of stable identity keys. The first entry is default.
Examples
List all complete character identities:
for _, identityKey in ipairs(getPlayerIdentityNames()) do
outputDebugString(identityKey)
end
Notes
- Available only in server-side resource scripts.
- This is the recommended catalog for ordinary character appearance selection.
- Each identity combines the matching GTO face profile with validated face materials and hair geometry, but never includes armor.
- Some identity profiles still have compatibility issues with specific armor assets. Test every identity and armor combination used by a resource.
- See Player identity catalog for the complete list.