natives.DISPLAY TEXT WITH 2 NUMBERS: Difference between revisions

Jump to navigation Jump to search
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_2_NUMBERS
|name = natives.DISPLAY_TEXT_WITH_2_NUMBERS
|parameters = Vec2 position, string text, int ped, int ped3
|parameters = float x, float y, string gxtKey, int num1, int num2
|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.
|parameter4 = int ped3 A ped3 value.
|parameter4 = int num1 First number to substitute.
|usage = toggles the text with 2 numbers visibility.
|parameter5 = int num2 Second number to substitute.
|usage = displays GXT text with two number placeholders at screen coordinates
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}
1,615

edits

Navigation menu