I have such a function:
function btn_edit(button)
if button == "left" then
name = guiCreateEdit(0, 0, 0, 0, "", false)
setTimer(function()
dxDrawText(guiGetText(name), 455, 316, 690, 346, tocolor(255, 255, 255), 1, Font13, "left", "center", clip, wordBreak, true)
guiFocus(name)
guiSetAlpha(name, 0)
guiEditSetMaxLength(name, 32)
end, 1, 0)
end
end
( addEventHandler("onClientGUIClick", btn, btn_edit) )
Does not work "removeEventHandler". In another function, when I click I hide all the specified functions except this one.
I can't understand why she's not hiding. Help, please!