Jump to content

Hugos

Members
  • Posts

    172
  • Joined

  • Last visited

Everything posted by Hugos

  1. Is it possible to remove the cursor from "guiCreateEdit"? (so far found only "guiEditSetCaretIndex")
  2. I understand, you need to use the "postGUI"
  3. Thank! Text is not displayed. Added timer: setTimer ( function() dxDrawText ( guiGetText(editBox),44, 41, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1.0, "pricedown" ) end, 1, 0 ) I already have one function (displays "dxDrawRectangle", "dxDrawText"). How to print "function salh ()" over?
  4. Thank, With that sorted out,
  5. Didn't understand the code a bit, but try so! function button() buttonWindow = dgsCreateButton() addEventHandler("onDgsMouseClick", buttonWindow, buttonWindowFunction) end addEventHandler("onClientResourceStart", root, button) function buttonWindowFunction() dgsCreateWindow() end write the required parameters in parentheses: https://wiki.multitheftauto.com/wiki/DgsCreateButton https://wiki.multitheftauto.com/wiki/DgsCreateWindow
  6. With that sorted out, i found my mistakes. There is such a question: How do I display text (guiGetText) on the screen when the user enters text in "guiCreateEdit" (in real time)?
  7. Help. I need to create a "guiCreateEdit", focus on it (so that you can enter text immediately) and make it transparent. How?
  8. Hugos

    [Help] Camera

    how to tilt it?
  9. Hugos

    [Help] Camera

    Tell me if you can create a camera and fix it over the player + tilt 90 degrees to get a top view. (as in gta 2)
  10. I don't know why, but "backspace" doesn't work. (For example, if you change the character to y, q, d, f or s - works)
  11. can the resulting text be output to "DxDrawText"? If so, then how to do it? (Can be example on opportunities? )
  12. Is it possible to delete the last character when clicking on "backspace"?
  13. You must set a variable with this function: The user enters the characters on the keyboard and they are shown with one line on the screen. How can this be done? (A variable is a string of text)
  14. The text is displayed not in a string, but in a single character on top of another. What to do?
  15. + The text is displayed not in a string, but in a single character on top of another
  16. this script does not work. (Show black display) Understood. Find errors. Necessary: local salh = guiCreateLabel(453, 0, 476, 78, character, false) instead "salh = guiCreateLabel(453, 0, 476, 78, character, false)" and must be before "guiSetText(salh, "")"
×
×
  • Create New...