Jump to content

Andreas.

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by Andreas.

  1. gui-window isn't an element type??
  2. addEvent("checkIFGUIOpen", true) function checkIFGUIOpen() if (isAnyGUIOpen) then outputChatBox("GUI open") else outputChatBox("false") end end addEventHandler("checkIFGUIOpen", root, checkIFGUIOpen) function isAnyGUIOpen() local gui = getElementsByType('gui-window') for _, v in ipairs(gui) do if(guiGetVisible(v)) then return true end end return false end it outputs GUI open even thought I don't have any open, or does it count a cursor as one?
  3. nope, already tried wrong argument.
  4. I want to to check if a GUI window is open(all) not only a special window, get me?
  5. nevermind, solved it but how can I check if a player has a GUI window open? like if (guiGetVisible(root)) then
  6. Andreas.

    Skin

    You're welcome
  7. Andreas.

    Skin

    You might need to change the dimension of the marker if you're in another dimension. setElementDimension
×
×
  • Create New...