Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function announce(val,...)
- local text = #{...}>0 and table.concat({...}," ") or nil
- if text then
- createTest ( ... )
- elseif checkIfTextEnabled == 3 then
- return
- end
- end
- addCommandHandler("a",announce)
- function createTest(t)
- Testoutput = dxText:create('', screenWidth/2, screenHeight - dxGetFontHeight(18, 'bankgothic')-20, false, 'bankgothic', 1.3, 'center')
- Testoutput:color(255, 0, 0, 0)
- Testoutput:text(t)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement