natives.setTextScale: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.setTextScale |parameters = float xScale, float yScale |parameter1 = float xScale Horizontal scale factor for the text (0.20) |parameter2 = float yScale Vertical scale factor for the text (0.40) |usage = Sets the horizontal and vertical scale of text drawn on the screen |notes = - Set the scale in the same frame before calling natives.displayTextWithLiteralString or other text draw functions...")
 
No edit summary
 
Line 24: Line 24:
     natives.setTextDropshadow(true, 0, 0, 0, 255);
     natives.setTextDropshadow(true, 0, 0, 0, 255);


     natives.displayTextWithLiteralString(new Vec2(0.05, 0.10), "STRING", "Texto visible y de tamaño medio (0.30)");
     natives.displayTextWithLiteralString(new Vec2(0.05, 0.10), "STRING", "Visible text of medium size (0.30)");
});
});
}}
}}
32

edits

Navigation menu