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

Event

onClientBrowserWhitelistChange

ClientBrowserIdentical to MTA:SA

The player allowed new domains for the browser (after requestBrowserDomains).

Handler

addEventHandler("onClientBrowserWhitelistChange", root, function(newDomains) ... end)

Parameters

newDomainstable
New domains.

Source

source is root.

Example

addEventHandler("onClientBrowserWhitelistChange", root, function(domains)
    outputChatBox("Zgoda na: " .. table.concat(domains, ", "))
end)

See also