OnWhitelistAccepted

From Onset Developer Wiki
OnWhitelistAccepted

Type: Event
Context: Client
Introduced: v1.4.2

Description

This function is called once the player has accepted the whitelist request.

Syntax

OnWhitelistAccepted(domains)
  • domains
    A table containing the domains which the player allowed.

Example

AddEvent("OnWhitelistAccepted", function(domains)
    AddPlayerChat("The following domains have been whitelisted:")
    for _, v in pairs(domains) do
        AddPlayerChat(v)
    end
end)

See also