- Documentation
- Client functions
- getBrowserSettings
Function
getBrowserSettings
Returns the browser settings chosen by the player (ESC, Settings, Browser).
Syntax
table getBrowserSettings()Differences from MTA:SA
- In MTA:SA this function is server-side only.
In MTA:SA
getBrowserSettings()Returns
{ RemoteEnabled = bool, RemoteJavascript = bool, PluginsEnabled = false }.
Example
if not getBrowserSettings().RemoteEnabled then
outputChatBox("Włącz strony z internetu w ustawieniach, żeby zobaczyć radio.")
end