Jump to content

Mike75

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Mike75

  1. dxDrawText("DevWorld MTA Project", width - 350,80, width-200, 30, tocolor(255, 255, 255, 200 * BGAlpha), 0.7, "bankgothic", [color=#FF0000]"center",[/color] "middle", false, false, false)
  2. bad argument dxDrawText expect vertical alignt at argument 10 , got string middle
  3. addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () exports.hud:hidegameinterface() createGUI() end ) -------------------------------------------------GUI--------------------------------------------------------- local BGAlpha = 1.0 function createBG() ---tworzenie tła do interfejsu local width, height = guiGetScreenSize() dxDrawRectangle(0, 0, width, height, tocolor(0, 0, 0, 200 * BGAlpha), false) dxDrawText("DevWorld MTA Project", width - 350,80, width-200, 30, tocolor(255, 255, 255, 200 * BGAlpha), 0.7, "bankgothic", "center", "middle", false, false, false) dxDrawLine(50, height / 4, width - 50, height / 4, tocolor(255, 255, 255, 255), 2, false) dxDrawText("Login", 80, height / 5, 80, height / 5, tocolor(255, 255, 255, 255), 0.7, "bankgothic", "center", "middle", false, false, false) end function createGUI() guiSetInputEnabled(true) addEventHandler("onClientRender", getRootElement(), createBG) showChat(false) fadeCamera(true) setCameraMatrix(1401.4228515625, -887.6865234375, 76.401107788086, 1415.453125, -811.09375, 80.234382629395) createLoginUI() end dxDrawText not working why ?
  4. Mike75

    Item System

    Hello. I would like to create a system to map objects play roles. And from here a few questions: Is it possible to raise the subject of the land and to create them on it (as in net4game on samp) how to assign functions to the subject. Please send me an idea
×
×
  • Create New...