Jump to content

XeRo

Members
  • Posts

    58
  • Joined

  • Last visited

Details

  • Gang
    VEGAS:RPG
  • Location
    United Kingdom

XeRo's Achievements

Snitch

Snitch (10/54)

0

Reputation

  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.
×
×
  • Create New...