var get_font = [
{name: "Verdana", size: 7, thickness: 0},
{name: "Smallest Pixel-7", size: 5, thickness: 0}
]
function draw(){
var index = UI.GetValue("Script items", "Font")
var font = Render.AddFont(get_font[index].name, get_font[index].size, get_font[index].thickness)
Render.StringCustom(100, 100, 0, "Test text", [255, 255, 255, 255], font)
}
UI.AddDropdown("Font", ["Verdana", "Smallest Pixel"])
Cheat.RegisterCallback("Draw", "draw");