Jump to content

XeRo

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by XeRo

  1. Grid List gives examples of how you made friends?
  2. Screen Shot image ?? /debugscript 3
  3. XeRo

    skins dd

    It can Edit https://community.multitheftauto.com/index.php?p= ... s&id=11907
  4. I know this function. Button clicking new Site load Browser! I want
  5. hahaha lol sorry local browser = guiCreateBrowser(0, 0, 800, 600, false, false, false)
  6. Is it OK ?? addEventHandler("onClientClick", root, function(button, state) if state == GUIEditor.button[1] then injectBrowserMouseDown(browser, button) loadBrowserURL(source, "www.mtasa.com") end )
  7. Hi Guys Please Fix GUIEditor = { button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(x, y, z, z2, "Home", true) end ) local theBrowser = guiGetBrowser(browser) -- Get the browser element from gui-browser addEventHandler("onClientGUIClick", theBrowser, function() if theBrowser == GUIEditor.button[1] then loadBrowserURL(source, "https://www.youtube.com") end )
  8. Please give Code I'm The Noob Scripter Sorry
  9. All Ready for Example ???
  10. Hi Guys. My Edit Script I have selected my I want it to be visible on the others for Original Script. : https://community.multitheftauto.com/index.php?p= ... s&id=11907 shader = dxCreateShader('shader.fx') myShader = dxCreateTexture('chr.png') dxSetShaderValue(shader, 'gTexture', Python) addEventHandler("onClientGUIClick",getRootElement, function() if source == GUIEditor.button[1] then dxSetShaderValue(shader, 'gTexture', myShader) engineApplyShaderToWorldTexture(shader, 'vehiclegrunge256') end end )
  11. Still going down , from the field Exiting the I do not want function scrollUP() offset = math.min(offset+20, windowHeight-scrollHeight) end function scrollDOWN() offset = offset - 20 end bindKey("mouse_wheel_up","down",scrollUP) bindKey("mouse_wheel_down","down",scrollDOWN)
  12. Code; local x, y = guiGetScreenSize() local myRenderTarget = dxCreateRenderTarget(20, 20, true) local offset = 0 function lobby() if myRenderTarget then ---Start using render target.... dxSetRenderTarget( myRenderTarget ) ---Start drawing on it. dxSetRenderTarget() --Stop Drawing on it. dxDrawRectangle(252, 205, 532, 291, tocolor(0, 0, 0, 155), false) dxDrawRectangle(759, 205, 19, 291, tocolor(255, 255, 255, 123), false) dxDrawRectangle(262, 205, 19, 291, tocolor(255, 255, 255, 123), false) dxDrawText("TEST", 291, 213+offset, 749, 486, tocolor(255, 255, 255, 255), 1.00, "sans", "left", "top", false, false, false, false, false) --//Scrolling bar.... dxDrawRectangle(262, 205+offset, 19, 35, tocolor(240, 98, 4, 251), false) end end addEventHandler("onClientRender", root, lobby) function scrollUP() offset = offset - 20 end function scrollDOWN() offset = offset + 20 end bindKey("mouse_wheel_up","down",scrollUP) bindKey("mouse_wheel_down","down",scrollDOWN) DxDrawRectangle It brings the field.
  13. Do not know I did, addEventHandler("onClientKey", root, function(Button, state, x, y) if Button == "mouse_wheel_up" and state == "mouse_wheel_down" then if x >= screenW * 0.2109 and y >= screenH * 0.2760 and x <= screenW * 0.2109+screenW * 0.5586 and y <= screenH * 0.2760+screenH * 0.4089 then end end end )
  14. Hi Guys Help Me. addEventHandler("onClientRender", root, function() dxDrawRectangle(255, 191, 561, 237, tocolor(0, 0, 0, 172), false) -- BackGround dxDrawRectangle(795, 211, 21, 191, tocolor(185, 0, 0, 172), false) --Scroll BackGround dxDrawRectangle(795, 215, 21, 30, tocolor(255, 255, 255, 255), false) --Scroll end )
  15. 2 How do I show server Players Label
  16. don't work. function Button() dxDrawRectangle(screenW * 0.1875, screenH * 0.6267, screenW * 0.7025, screenH * 0.0233, tocolor(9, 72, 199, 255), false) dxDrawText("Click to Info", (screenW * 0.3700) + 1, (screenH * 0.6267) + 1, (screenW * 0.7063) + 1, (screenH * 0.6500) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("Click to Info", screenW * 0.3700, screenH * 0.6267, screenW * 0.7063, screenH * 0.6500, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) end addEventHandler("onClientClick", root, function(Button, state, x, y) if Button == "left" and state == "down" then if x >= screenW * 0.1875 and y >= screenH * 0.6267 and x <= screenW * 0.1875+screenW * 0.7025 and y <= screenH * 0.6267+screenH * 0.0233 then end end end )
×
×
  • Create New...