ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientBrowserLoadingFailed

Event

onClientBrowserLoadingFailed

ClientBrowserIdentical to MTA:SA

A page failed to load.

Handler

addEventHandler("onClientBrowserLoadingFailed", root, function(url, errorCode, errorDescription) ... end)

Parameters

urlstring
The address.
errorCodeint
Error code.
errorDescriptionstring
Error description.

Source

source is the browser.

Example

addEventHandler("onClientBrowserLoadingFailed", root, function(url, code, desc)
    outputChatBox("Nie wczytano strony: " .. desc)
end)

See also