OnClientBrowserLoadingFailed

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

The event is triggered when the browser can not load the page.

Parameters

string url, int errorCode, string errorDescription
  • url:
  • errorCode:
  • errorDescription:

Source

todo

Example

[lua]

addEventHandler("onClientBrowserLoadingFailed", root,
	function(url, errorCode, errorDescription)
		outputChatBox("This webpage is not available" .. url .. "Unknown" .. errorCode .. "Unknown" .. errorDescription)
	end
)

See Also