Skip to main content

Text

Client Functions

NameDescription
AddEntryAdd GXT entry.
AddEntryByHashAdd GXT entry by hash.
SetLoadingTextSet loading screen text.

AddEntry

Add GXT entry.

Text.AddEntry(string key, string label)

tip

This function can also be used to overwrite existing GXT entries.

Example:

Text.AddEntry("MenuHelp", "~INPUT_PICKUP~ Open Menu")

Thread.Create(function()
while true do
Thread.Pause(0)

Game.DrawFrontendHelperText("", "MenuHelp", false)
end
end)

AddEntryByHash

Add GXT entry by hash.

Text.AddEntryByHash(uint key, string label)

tip

This function can also be used to overwrite existing GXT entries.


SetLoadingText

Set loading screen text.

Text.SetLoadingText(string text)

Example:

Events.Subscribe("sessionInit", function()
Text.SetLoadingText("Loading Freeroam...")
end)