Ui::getTextScreenWidth: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
Line 13: Line 13:
{{Ui_s_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 14:55, 20 May 2017

In scripts font most of the time is passed as 1.
Use _SET_TEXT_ENTRY_FOR_WIDTH

param is not font from what i've tested

Syntax

mp.game.ui.getTextScreenWidth(p0);

Required Arguments

  • p0: Boolean

Return value

  • float

Example

// todo

See also