Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Et-win

  1. Lol, anyway, have patient Lek.You are mostly saying we don't know anything about scripting when you aren't getting helped, which gives us the lack of motivation to help you.
  2. I can not do this for all my files. if I do this, my server will always have download, I think you as a programmer should know this. do not you think? I thought you only meant one script, lol.
  3. Make a complete new resource-map, meta.xml, client+server.lua files and open them. Get the old scripts and select all text then copy+paste them in the new one. (No copying files) Then try again with the new resource. Helped for me once. (Sounds like bullsh*t I know)
  4. If you are not willing to use, are not willing to understand or willing to learn using debugscript 3, I won't help you. We are here to help you, not to waste our time to people who are just doing nothing else than letting us solve stuff. You said nothing was being showed, well this showed. Good luck with your script.
  5. atmGUI_Window = {} atmGUI_Button = {} atmGUI_Edit = {} atmGUI_Label = {} function createatmGUI() atmGUI_window[1] = guiCreateWindow(404, 193, 582, 393, "Bank Of San Andreas", false) guiWindowSetSizable(atmGUI_window[1], false) table.insert(allGuis,atmGUI_Window[1]) atmGUI_Label[1] = guiCreateLabel(20, 227, 122, 27, "Transfer money :", false, atmGUI_Window[1]) atmGUI_Label[2] = guiCreateLabel(10, 31, 200, 37, "Deposit/Withdraw money", false, atmGUI_Window[1]) atmGUI_Label[3] = guiCreateLabel(20, 78, 84, 27, "Deposit :", false, atmGUI_Window[1]) atmGUI_Label[4] = guiCreateLabel(20, 122, 78, 29, "Withdraw :", false, atmGUI_Window[1]) atmGUI_Edit[1] = guiCreateEdit(88, 78, 171, 21, "", false, atmGUI_Window[1]) atmGUI_Edit[2] = guiCreateEdit(90, 124, 169, 21, "", false, atmGUI_Window[1]) atmGUI_Button[1] = guiCreateButton(58, 174, 69, 34, "Deposit", false, atmGUI_Window[1]) atmGUI_Button[2] = guiCreateButton(145, 174, 68, 35, "Withdraw", false, atmGUI_Window[1]) atmGUI_Label[5] = guiCreateLabel(20, 264, 94, 24, "Player name :", false, atmGUI_Window[1]) atmGUI_Label[6] = guiCreateLabel(20, 298, 92, 22, "Amount :", false, atmGUI_Window[1]) atmGUI_Label[7] = guiCreateLabel(21, 330, 83, 27, "Reason :", false, atmGUI_Window[1]) atmGUI_Edit[3] = guiCreateEdit(107, 266, 183, 22, "", false, atmGUI_Window[1]) atmGUI_Edit[4] = guiCreateEdit(107, 266, 183, 22, "", false, atmGUI_Window[1]) atmGUI_Edit[5] = guiCreateEdit(107, 266, 183, 22, "", false, atmGUI_Window[1]) atmGUI_Edit[6] = guiCreateEdit(107, 293, 183, 22, "", false, atmGUI_Window[1]) atmGUI_Edit[7] = guiCreateEdit(108, 320, 182, 37, "", false, atmGUI_Window[1]) atmGUI_Button[3] = guiCreateButton(349, 277, 166, 61, "Transfer", false, atmGUI_Window[1]) atmGUI_Label[8] = guiCreateLabel(390, 31, 182, 25, "..:: Information ::..", false, atmGUI_Window[1]) atmGUI_Label[9] = guiCreateLabel(316, 66, 142, 27, "Available amount :", false, atmGUI_Window[1]) atmGUI_Edit[8] = guiCreateEdit(316, 94, 142, 30, "", false, atmGUI_Window[1]) guiSetProperty(atmGUI_Edit[8], "ReadOnly", "True") guiSetVisible(atmGUI_Window[1],false) end createatmGUI() Not sure, too lazy to try by myself but test it.
  6. https://wiki.multitheftauto.com/wiki/OnMarkerHit function lol(tElement) if (getElementType(tElement) == "player") then if (getMarkerType(source) == "corona") then --Stuff end end end addEventHandler("onMarkerHit", root, lol)
  7. guiCreateEdit guiCreateGridList guiGridListAddColumn onClientGUIChanged string.find guiGridListClear guiGridListAddRow guiGridListSetItemText
  8. Et-win

    SOLVED

    Maybe explain the problem?
  9. Et-win

    1.4 problem

    All the codes which he states they don't work.
  10. Et-win

    DX Gui help

    If you throw function 'draw' onto a render, then you know it will create a button for every frame, and lagg will be huge and then your game will probably crash? Anyway: addEventHandler("onClientGUIClick",guiRoot,function()
  11. ..........Just open namtags.lua and set the dxDrawText colorCoded boolean to true......
  12. Et-win

    about GridList

    You can put the row in the 'guiSetProperty', so maybe you don't know what he is talking about.
  13. You are totally not even trying to solve your errors.
  14. Et-win

    1.4 problem

    ...No, everything works fine.
  15. Good job, but why not using tocolor x:
  16. 'getCursorPosition' returns a value between 0 and 1. Do some math to make it absolute in pixels.
  17. --table.insert(allUpgrades, {[ "av" ] = true, [ "slotName" ] = slotName} ) allUpgrades["av"] = true allUpgrades["slotName"] = slotName Etc.
  18. It does work in my server.
  19. I always just remove the faded-pixels at the edges of the picture
  20. Et-win

    XML

    Well, you can just use the example on the wiki (xmlNodeGetChildren) and change 'xmlNodeGetValue' to 'xmlNodeGetName'.
  21. He said resourceRoot not resourceRoot() . Also use and learn to use debugscript 3
×
×
  • Create New...