Jump to content

marcineg

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by marcineg

  1. 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. marcineg

    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. marcineg

    Binds

    Thanks for help! Close topic.
  4. marcineg

    Binds

    How to restore bind's later?
  5. marcineg

    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. marcineg

    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. marcineg

    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. marcineg

    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. marcineg

    Zoom

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

    path

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

    Rotation

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

    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. marcineg

    Streaming

    You speak Polish?
  14. marcineg

    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. marcineg

    Streaming

    I know, I mean dxDrawMaterialLine3D rendering for players in the stream.
  16. marcineg

    Streaming

    An example of how to display dxDrawMaterialLine3D for players in this stream?
  17. marcineg

    Streaming

    Hello, i'm have a question. How to use onClientElementStreamIn and onClientElementStreamOut? I must optimize my code with this events, now i have loop in onClientPreRender so this events will useful me. Sorry for my english
  18. marcineg

    Lights

    What exactly do I need?
  19. marcineg

    Lights

    This also does not give such effect. I mean those blue-red lights blinking on the ground.
  20. marcineg

    Lights

    This function only create light, no light shadow.. Only reflection
  21. marcineg

    Lights

    Hello, how to get the effect of these lights on the ground? Is there any shader? How to do that? VIDEO:
  22. Hi, how to get server resource size and what are we downloading? I mean something like this is progressbar during download and is xMB downloaded from xMB for download XMB / xMB Sorry for my English, I'm Polish.
×
×
  • Create New...