csmit195

[MTASA] Hides the /report window.

Oct 3rd, 2012
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. -- This is a very simple but effective small code for the people who wish to hide the /report if they have made a bind to show /report.
  2. for i, v in ipairs(getElementsByType("window")) do
  3.     if guiGetText(v) == "Contact Admin" and guiGetVisible(v) then
  4.         guiSetVisible(v, false)
  5.     end
  6. end
Advertisement
Add Comment
Please, Sign In to add comment