Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Et-win

  1. Et-win

    Scrollpane

    Hmm, it worked for me that way. No idea why. If you meant another label as that empty label as parent, then yes that works. But still I want to know why it doesn't work normally.
  2. Really, 1 topic is enough...
  3. 1. These imagines are findable here: E:\Program Files (x86)\Rockstar Games\MTA San Andreas 1.4\MTA\cgui\images 2. Probably you have to make the size X bigger, then it will show.
  4. Et-win

    Scrollpane

    Yet again, nothing. Possible this is a bug? I never used this before, so I don't know or it was before too.
  5. Is this your own system? Otherwise, I currently have to go, so maybe can someone else help you at this moment.
  6. Very simple, his rank doesn't get saved when he leaves the server. Or, if you did implent that, give us that piece of code (Rule number) and also check /debugscript 3 for errors.
  7. Et-win

    Scrollpane

    Just tried it, doesn't work too.
  8. Et-win

    Scrollpane

    Can you explain me why I need that code? The position of the label is the thing that is not working. Both pX and pY aren't.
  9. Et-win

    Scrollpane

    You mean 'guiSetPosition' I just tried, and still doesn't change. The code did return 'true' though.
  10. Et-win

    click GUI

    [[--if btnCancel~=nil then outputChatBox("Canceled operation...") end --]] Change [[-- to --[[ and --]] to ]] [[ means you are entering a string until you close it again with ]] --[[ until ]] means that part is unreadable by the script.
  11. Et-win

    click GUI

    It works fine for me on my server. Just saying..
  12. Et-win

    click GUI

    I doubt it, because otherwise it would work. You need Admin and not Moderator... Otherwise I don't know. And again: is 'register' defined?
  13. Et-win

    Scrollpane

    Hello all, function window() local window = guiCreateWindow(10, 10, 400, 500, "Window", false) local scrollpane = guiCreateScrollPane(0, 19, 400, 481, false, window) local pX = 20 local label = guiCreateLabel(pX, 0, 380, 481, "0123456789012345678901234567890123456789012345678901234567890123456789", false, scrollpane) end window() I can't set position X in my label, it keeps standing by 0. Even if I set pX to 1000, it still is on position 0. I wonder, how and why? (This problem is also with all other GUI things I make in the scrollpane) PS: I can create an invisible (without text) label on the scrollpane and then create everything I want into it and set the size later on. But I still want to know why it doesn't work.
  14. Et-win

    click GUI

    You need to be logged in as Admin...
  15. Et-win

    click GUI

    Not in the console. You have to typ it in-game.
  16. Et-win

    click GUI

    Is 'register' located? Also check command: /debugscript 3 and if there comes an error after starting the resource/using the command, then post those errors here.
  17. Et-win

    Housing

    I have no idea about MySQL, but XAMPP has it. (Google it)
  18. Et-win

    Housing

    Moderators don't know it very better than everyone else here if it would be the script. If people don't react they are offline (Duh) or they don't know. But, did you read README.txt? "How to Install: At first you need a MySQL Server. I used the MTA Database functions, so the mysql-module is not in use. Set up the server, and execute the .sql file, that is located in this folder."
  19. Are you also sure you have this in meta.xml: <file src="filename.filetype" download="false" /> ? Also, even if the file has been downloaded, then 'onClientFileDownloadComplete' will still run. Check in your files or the file was downloaded. (In the folder where you have installed MTA. e.g.: E:\Program Files (x86)\Rockstar Games\MTA San Andreas 1.4\mods\deathmatch\resources ) I'm sure you already did, but just to be sure.
  20. Et-win

    Housing

    Did you gave the resource Admin rights? If not: • Open Admin Panel by 'p' • Press tab 'Resources' • Press 'Manage ACL' • Double-click on 'Admin' under 'Group' • Press 'Add object' • Fill this in: resource.resource-name • Press 'OK'
  21. In-game, typ the command: /debugscript 3 and you will see the answer. I guess a typos, otherwise put function 'onStart' under all other functions. (With it's event) Also: As soon as any resource starts, your script is being started too. To avoid this, change 'getRootElement()' to 'getResourceRootElement()' in the event handler. (Only by event 'onResourceStart')
  22. Read it all, well explained. Good job for everyone who is into this and trying to make all scripts save. Good job for everyone. Still I'm wondering what is the best and savest and not can be stolen: Compiling or Encrypting? (Guess Compiling?)
  23. Because it can return false. And why would you check something that failed? Check or it's false and if so output it, always handy for typos in XML file.
×
×
  • Create New...