Graphics::beginTextComponent

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Called prior to adding a text component to the UI. After doing so, GRAPHICS::_END_TEXT_COMPONENT is called.

Examples:
GRAPHICS::_BEGIN_TEXT_COMMAND_SCALEFORM('NUMBER');
UI::ADD_TEXT_COMPONENT_INTEGER(GAMEPLAY::ABSI(a_1));
GRAPHICS::_END_TEXT_COMPONENT();

GRAPHICS::_BEGIN_TEXT_COMPONENT('STRING');
UI::_ADD_TEXT_COMPONENT_STRING(a_2);
GRAPHICS::_END_TEXT_COMPONENT();

GRAPHICS::_BEGIN_TEXT_COMPONENT('STRTNM2');
UI::_0x17299B63C7683A2B(v_3);
UI::_0x17299B63C7683A2B(v_4);
GRAPHICS::_END_TEXT_COMPONENT();

GRAPHICS::_BEGIN_TEXT_COMPONENT('STRTNM1');
UI::_0x17299B63C7683A2B(v_3);
GRAPHICS::_END_TEXT_COMPONENT();



This is _BEGIN_TEXT_COMPONENT

Syntax

mp.game.graphics.beginTextComponent(componentType);

Required Arguments

  • componentType: String

Return value

  • Undefined

Example

// todo

See also