Jump to content

[SOLVED]Changing Killmessages font ' Again '


HeK

Recommended Posts

I think it's a 16 line..

dxText = {} 
dxText_mt = { __index = dxText } 
local idAssign,idPrefix = 0,"c" 
local g_screenX,g_screenY = guiGetScreenSize() 
local visibleText = {} 
------ 
local defaults = { 
    fX                          = 0.5, 
    fY                          = 0.5, 
    bRelativePosition           = true, 
    strText                     = "", 
    bVerticalAlign              = "center", 
    bHorizontalAlign            = "center", 
    tColor                      = {255,255,255,255}, 
    fScale                      = 1, 
    strFont                     = "default", 

Because in a DxDraw is a "default" font. Look this: https://wiki.multitheftauto.com/wiki/DxDrawText Maybe this can help you.

Link to comment

Okey.. I found it in gui.lua

addEvent ( "doOutputMessage", true ) 
function outputMessage ( message, r, g, b, font ) 
    if type(message) ~= "string" and type(message) ~= "table" then 
        outputDebugString ( "outputMessage - Bad 'message' argument", 0, 112, 112, 112 )  
        return false  
    end 
    if type(font) ~= "string" then  
        font = "default" 
    end 
    r = tonumber(r) or 255 
    g = tonumber(g) or 255 
    b = tonumber(b) or 255 
    ---shift everything up 
    shiftUpGUI() 
    --Delete the first line 
    destroyLine (1) 
    table.remove ( contentMessages, 1 ) 
    if type(message) == "string" then 
        message = {message} 
    end 
  

Here is a font too..

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...