GetPlayerFaceNames

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search

getPlayerFaceNames

Returns every validated GTO face-profile key exposed by the server.

Syntax

table getPlayerFaceNames()

Parameters

This function does not accept parameters.

Returns

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

Examples

List the available face profiles:

for _, faceKey in ipairs(getPlayerFaceNames()) do
    outputDebugString(faceKey)
end

Notes

  • Available only in server-side resource scripts.
  • Face profiles control skin traits, proportions and mimic data. Hair/head geometry and armor are separate authoritative layers.
  • See Player face catalog for the complete list.