GameGetLocalizedString Method RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets the localized string from the specified localization string id.

Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.47.1037.9935)
Syntax

public static string GetLocalizedString(
	string localizationStringId
)

Parameters

localizationStringId
Type: SystemString
The localization string identifier.

Return Value

Type: String
If successful, returns a String representing the localized version of the specified localization string; otherwise, returns null.
Examples

This example will display a notification with "White Shorts" if the game language is set to english.
Game.DisplayNotification(Game.GetLocalizedString("LEGS_P1_14_0"));
See Also

Reference