Jump to content

iSpark

Members
  • Content Count

    24
  • Joined

  • Last visited

Community Reputation

0 Neutral

About iSpark

  • Rank
    Civilian

Details

  • Gang
    Nothing
  1. Search in Community.mtasa.com
  2. iSpark

    Help Textlib

    I have a Win text color With dxDrawText for Be Colored i need edit textlib
  3. iSpark

    Help Textlib

    dxDrawText(self.strText, l + shadowDist, t + shadowDist, r + shadowDist, b + shadowDist, tocolor(att2, att3, att4, att5), self.fScale, self.strFont, self.bHorizontalAlign, self.bVerticalAlign, self.bClip, self.bWordWrap, self.bPostGUI,true ) end dxDrawText ( self.strText, l, t, r, b, tocolor(unpack(self.tColor)), self.fScale, self.strFont, self.bHorizontalAlign, self.bVerticalAlign, self.bClip, self.bWordWrap, self.bPostGUI,true ) break end end end ) I change dxDrawText colorcode to true .. Something wrong ?
  4. iSpark

    [HELP] !!

    I wont test win text color
  5. iSpark

    [HELP] !!

    triggerClientEvent ( "fuck_all_RaMi^!", getRootElement(), activePlayers[1] ) end addCommandHandler("testwin", function(pla) triggerClientEvent ( "fuck_all_RaMi^!", getRootElement(), pla ) end) What wrong
  6. iSpark

    Help Font.

    I fix the meta.xml but the font.tff not fixed in Client.
  7. iSpark

    Help Font.

    The font not work.
  8. iSpark

    Help Font.

    srfont = dxCreateFont("font.ttf",13) g_GuiLabel = { } function GuiShow() if g_Settings.Visible then g_GuiLabel.Speed:visible(true) g_GuiLabel.Unit:visible(true) end end addEventHandler("onClientScreenFadedIn", root, GuiShow) function GuiHide() g_GuiLabel.Speed:visible(false) g_GuiLabel.Unit:visible(false) end addEventHandler("onClientScreenFadedOut", root, GuiHide) function GuiInitialize() local screenWidth, screenHeight = guiGetScreenSize() g_GuiLabel.Speed = dxText:create("0", screenWidth-72, screenHeight - 36, false,
  9. local screen_width, screen_height = guiGetScreenSize() local RESPAWN_KEY = "space" local showRespawn = false dxDrawText = "#FF5500Press #808080"..RESPAWN_KEY.." #FF5500to respawn" dxDrawRectangle ( x/3.8, y/3.8, x/2.02, y/2, tocolor ( 0, 0, 0, 150 ) local scale = 1.5 local font = "arial" local textWidth = dxGetTextWidth(text:gsub("#%x%x%x%x%x%x", ""), scale, font) local fontHeight = dxGetFontHeight(scale, font) local color = tocolor(255, 128, 0, 255) setElementData(getLocalPlayer(), "respawn.playing", false, true) local running = false
  10. I try but The Code not work
  11. Hey how can i add a dxDrawRectangle To that Text Lua local screen_width, screen_height = guiGetScreenSize() local RESPAWN_KEY = "space" local showRespawn = false local text = "#FF5500Press #808080"..RESPAWN_KEY.." #FF5500to respawn" local scale = 1.5 local font = "arial" local textWidth = dxGetTextWidth(text:gsub("#%x%x%x%x%x%x", ""), scale, font) local fontHeight = dxGetFontHeight(scale, font) local color = tocolor(255, 128, 0, 255) setElementData(getLocalPlayer(), "respawn.playing", false, true) local running = false local vehicleData = {} local SAVE_INTER = 22500 local saveTi
×
×
  • Create New...