Jump to content

Wes

Members
  • Content Count

    76
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Wes

  • Rank
    Transformer

Details

  • Gang
    dark
  1. Wes

    GUI Bug.

    The button is working just fine, the login script is the one that doesnt work the way I want to work.
  2. Wes

    GUI Bug.

    Still doesnt work...
  3. Wes

    GUI Bug.

    WARNING: Loginsystem / s_login.lua: 6 : Bad Argument @ logIn [Expected account at argument 2, got string 'Teo' ]
  4. Wes

    GUI Bug.

    Still doesnt work And wherever I click it outputs the error message..
  5. Wes

    GUI Bug.

    Hy. I made a GUI Login, and everytime I click on the Login button, I get this message WARNING: loginsystem\s_login.lua:4: Bad Argument @getAccount [Expected String at argument 1, got nil] WARNING: loginsystem\s_login.lua: 6: Bad Argument @logIn .[Expected account at argument 2, got boolean] Aand it doesnt matter where I click, it triggers both register and login function, idk why. This is the code, I hope you can help me. addEvent("onlogin", true) addEventHandler("onlogin", getRootElement(), function (player, user, pass) local account = getAccount(account, pass) if (a
  6. And how to stream URL-s? Cause in the syntax description it only shows the path. Do I need to write like the youtube link there?
  7. How can I do that so while something is active (eg a gui panel) theres a music playing in the background? Can I do it like in PAWN, so with an URL pointing to the music itself, so it wont download anything? Thanks for the answers
  8. So I should get the button positions, and replace absoluteX and absoluteY?
  9. So yea, if his cursor is over the image, doesnt click but it stands there, then it changes the picture. I want so when he hovers his mouse over the image, it changes into another button that has a border. The only thing I ask now is how can I make it so it will change the picture
  10. Thank you Prestege, I'm gonna try this out! How can I make that so if the player cursor is on the image, it turns into another image? like mouseOver in Javascript.
  11. I used guiCreateStaticImage, how can I make it clickable then? Cause I didn't understand the last answer.
  12. I want to put images in the MTA server, is there any function with I can trigger an event if the user clicks on the picture? Like onClientGUIClick, but instead of a gui button, you have to click on an image
  13. Wes

    MTA Dayz

    You can't, you have to buy the gamemode in order to change stuff in there
  14. Wes

    login panel

    Thank you for your help!
  15. Wes

    login panel

    Thank you, could you tell me what you changed?
×
×
  • Create New...