OnClientBrowserNavigate

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

The event is executed when the browser loads a new page.

Parameters

string targetURL, bool isMainFrame
  • targetURL:
  • isMainFrame:

Source

todo

Example

TODOaddEventHandler ( "onClientBrowserNavigate" , root , 
	function ( targetURL , isMainFrame ) 
		if isMainFrame then 
			outputChatBox ( "Navigating you to a new page"  .. targetURL ) 
		end 
	end 
)

See Also