marcineg

Members
  • Content count

    27
  • Joined

  • Last visited

Community Reputation

0 Neutral

About marcineg

  • Rank
    Advanced Member
  1. DX scrollbar

    Hello, how to create a scrollbar with a circle? I know how to create a scrollbar with a bar but I do not know how to create a scrollbar with a circle instead of a bar. My point is to calculate the position of the shift
  2. Alpha

    How to set alpha with HLSL shader? In fx file. I want make (yellow light) 0:34 - right yellow light. Sorry for my eng.
  3. Binds

    Thanks for help! Close topic.
  4. Binds

    How to restore bind's later?
  5. Binds

    If I do this, I will not be able to write in the edit box in dx. I'm using onClientCharacter, but it probably does not matter.
  6. Binds

    local playerBinds = {} function controlBinds(bool) if not bool then for key,value in pairs(alfabetLacinski) do local cmds = getCommandsBoundToKey(key,"down") for k,cmd in pairs(cmds) do local bind = getBoundKeys(k) for l,j in pairs(bind) do table.insert(playerBinds,{key=l, state=j,cmd=k}) unbindKey(l) print("UNBIND: "..l) end end end else -- BIND end end I used toggleControl and setControlState to unbind the key, but it only unbinded the default bind eg chatbox. Player binds such as admin panel still etc.
  7. Binds

    Hi, how to get all the binded keys? I want to write a function which will work just like guiSetInputMode "no_binds_when_editing" only in dx.
  8. Zoom

    Omg, map in gui... How to make zoom map on scroll and how to move the map when pressed left mouse button and move the mouse? Look at video.
  9. Zoom

    Hello, how to make map zoom and move map? Example video: 1:14
  10. path

    Hi, Can I change the path of an image with guiCreateStaticImage without deleting it and creating it again?
  11. Rotation

    Hey, i have question, how to use/change rotation of image in CEGUI? Not dxDrawImage but guiCreateStaticImage
  12. Streaming

    I'm want to everyone see dxDrawMaterialLine3D, but i do not want to use loop on players in onClientPreRender. addEventHandler("onClientPreRender",root,function() for _,k in pairs(Element.getAllByType("player")) do local pts = k:getData("points") for i=1, #pts do dxDrawMaterialLine3D(pts[i][1],pts[i][2],pts[i][3],pts[i+1][1],pts[i+1][2],pts[i+1][3],texture,0.1) end end end) how to optimize this code?
  13. Streaming

    You speak Polish?
  14. Streaming

    So I have to create a dxDrawMaterialLine3D element? With createElement ("line3D") and for that use streaming? Because I want dxDrawMaterialLine3D to see each and loop in the onClientPreRender on players is aggravating.
  15. Streaming

    Not completely