GetPlayerBodyNames

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

getPlayerBodyNames

Deprecated compatibility API that returns the validated legacy face-profile keys exposed by the server.

Syntax

table getPlayerBodyNames()

Parameters

This function does not accept parameters.

Returns

Returns a one-based array of stable face-profile keys. The first entry is default.

Examples

List every available legacy body/face profile:

for _, bodyKey in ipairs(getPlayerBodyNames()) do
    outputDebugString(bodyKey)
end

Notes

  • Available only in server-side resource scripts.
  • Deprecated: use getPlayerIdentityNames for complete character identities or getPlayerFaceNames for face-only profiles.
  • This is a compatibility alias for getPlayerFaceNames.
  • The profile controls GTO skin traits, proportions and mimic data. It does not replace armor or select hair.
  • See Player face catalog for the complete list.