natives.DISPLAY TEXT WITH NUMBER: Difference between revisions

Add ScriptItem documentation from GTA VC SCM decompile
(Add ScriptItem documentation from GTA VC SCM decompile)
 
(Add ScriptItem documentation from GTA VC SCM decompile)
 
Line 4: Line 4:
|type = function
|type = function
|name = natives.DISPLAY_TEXT_WITH_NUMBER
|name = natives.DISPLAY_TEXT_WITH_NUMBER
|parameters = Vec2 position, string text, int ped
|parameters = float x, float y, string gxtKey, int number
|parameter1 = Vec2 position The position vector.
|parameter1 = float x X screen coordinate.
|parameter2 = string text String content to display.
|parameter2 = float y Y screen coordinate.
|parameter3 = int ped Target character in the game world.
|parameter3 = string gxtKey GXT text table entry key.
|usage = toggles the text with number visibility.
|parameter4 = int number Numeric value to display.
|usage = displays GXT text with one number placeholder at screen coordinates
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
1,615

edits