Jump to content

Xeno

Members
  • Posts

    728
  • Joined

  • Last visited

Everything posted by Xeno

  1. Xeno

    Error MTA

    C:\Program Files\MTA San Andreas 1.3\mods\deathmatch\resources Delete everything in that directory.
  2. Xeno

    {HELP}How can I

    You can put my script at the bottom of yours. @Draken - there was no need for that, mine worked perfectly
  3. Xeno

    {HELP}How can I

    function onResourceStart () local Window = guiGetVisible (GUIEditor_Window[1]) --We predefine a variable for Window if (Window) == true then -- If window is shown guiSetVisible ( GUIEditor_Window[1], false ) --We hide it showCursor ( false ) --We hide it's cursor else --else we.. guiSetVisible ( GUIEditor_Window[1], true ) --Show the window showCursor ( true ) --We show it's cursor end end bindKey ( "F7", "down", onResourceStart ) --And we bind it with 'f1' key
  4. Do you have an example I could use? ( Sorry, I just won't be able to do it.. I Just saw the Wiki lol)
  5. Nope, its dxDrawText I'm trying to do.
  6. function news(clickedElement) if (clickedElement == login) then addEventHandler("onClientRender",rootElement, serverBoxDesign) end end addEventHandler ( "onClientClick", down, news ) Error: Bad arguement @ "addEventHandler" [Expected Element at arguement, 2 got nil]
  7. This explained alot. Thank you very much
  8. Well I don't want to use a label... And there is a way you can make them clickalbe, I've seen it.
  9. I'm working with dxDraw now, and I'm trying to make it so you can press a piece of text so it triggers something else. I neally got it to work, but I need it so it works when I click on the dxDrawText, because at the moment, the GUI appears when I click anywhere on the screen. Please help me. dxDrawText ( "Chheseseseses", 050, screenHeight - 530, screenWidth, screenHeight, tocolor ( 0,0,0, 255 ), 5, "sans" ) function news(clickedElement) if (clickedElement) then addEventHandler("onClientRender",rootElement, serverBoxDesign) end end addEventHandler ( "onClientClick", getRootElement(), news )
  10. Pretty much, people have told me how to make tables ( markers, vehicles, ect) but i have no clue how to actually work them and what they mean.. .if someone could give me a simple one and label it on how it works, i would appricate it. Thanks Xeno,
  11. Try type into quick connect: 127.0.0.1
  12. Xeno

    Freeroam Table

    Your trying to set the grldlist's alpha?
  13. Xeno

    Freeroam Table

    Put it under where you create the GUI.
  14. Xeno

    Problem

    Remove local. Also, I use this because its easier: sx,sy = guiGetScreenSize() loginWindow = guiCreateWindow(0.020*sx,0.290*sy,0.300*sx,0.550*sy,"Userpanel",false)
  15. Xeno

    F1 Menu

    Or do /unbind F1 ingame, then reconnect.
  16. How do I get the bullet hit point?
  17. I don't think you can attach markers. Use a col shape.
  18. I have updated my previous code with my dxDraw Example.
  19. For GUI I use this sx,sy = guiGetScreenSize() loginWindow = guiCreateWindow(0.020*sx,0.290*sy,0.300*sx,0.550*sy,"",false) Also local screenWidth, screenHeight = guiGetScreenSize() dxDrawText ( "You have level up!", 05, screenHeight - 100, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 4, "pricedown" )
  20. /me killed CapY ( 360 barrel shot no scope across the map tomohawk to the head )
  21. https://www.youtube.com/watch?v=DbYtqAWD ... r_embedded
  22. Hentai. What, who said that?
  23. LOL. This song is actually awesome.
×
×
  • Create New...