okay thank you, i will do that
it makes the same issue, its not solved yet
this is what i have done
my game crashes each time i try to close the browser
bindKey("F5", "down", function()
if isTimer(spamTimer) then
return false
end
if not isElement(theBrowser) then
local initBrowser = guiCreateBrowser(0, 0, sX, sY, true, true, false)
theBrowser = guiGetBrowser(initBrowser)
addEventHandler("onClientBrowserCreated", theBrowser, loadTheBrowser)
else
setBrowserRenderingPaused (theBrowser, true)
destroyElement(theBrowser)
theBrowser = nil
end
spamTimer = setTimer(function() end, 1000, 1)
end)