yeah this is cool
function closedx()
removeEventHandler("onClientPreRender", getRootElement(), drawpistol);
removeEventHandler("onClientPreRender", getRootElement(), drawsmg);
end
addEventHandler("onClientGUIClick", root,function()
if ( source == close) then
closedx()
end
end )
i took your advise, it worked perfectly but this code i tried above works too, dont mind it, but if i used that closedx(), its fine too right? will other players experience the closed function too or just him?