GetPlayerIdentityNames

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 06:12, 24 August 2026 by QCherry (talk | contribs) (Document Protocol 23 voice and player presentation APIs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.