local text = [[
gagazhga
gagazhga1
gagzhga2
]]
require('lib.moonloader')
local font_flag = require('moonloader').font_flag
local my_font = renderCreateFont('Verdana', 12, font_flag.BOLD + font_flag.SHADOW)
function main()
while not isSampAvailable() do wait(0) end
while true do
wait(0)
if isKeyDown(VK_Z) then
local lineHeight = renderGetFontDrawHeight(my_font)
local y = 400
for line in text:gmatch("[^\r\n]+") do
renderFontDrawText(my_font, line, 10, y, 0xFFFFFFFF)
y = y + lineHeight
end
end
end
end