onOfficialServer

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Get if the current machine is an official server or is connected to one.
Groups:
Argo

Syntax

Syntax:
onOfficialServer
Return Value:
Boolean - true if the machine is an official server or is connected to one, false otherwise (e.g disconnected or single player)

Examples

Example 1:
if (onOfficialServer) then { systemChat "I am safe here! Wait, why is this bush crawling towards me"; };

Additional Information

See also:
kickPlayer

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note