Garry's Mod Wiki

string.NiceName

  string string.NiceName( string text )

Recently Added

This was recently added in version (2024.06.28). It might only be available on the Dev Branch right now.

Description

Converts a "string_likeThis" to a more human-friendly "String like This".

This is used internally by Faceposer and other code to transform flex and bodygroup names to a more friendly format.

Arguments

1 string text
The name to transform.

Returns

1 string
The more human-friendly version of the input text.