Jump to content

marcineg

Members
  • Posts

    26
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

marcineg's Achievements

Advanced Member

Advanced Member (8/54)

0

Reputation

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