IsPasswordProtected

From RAGE Multiplayer Wiki

Returns true if password is found in conf.json and is not empty (even if it is not a valid string), otherwise it returns false.


C# Syntax

bool NAPI.Server.IsPasswordProtected();

Example

bool isPasswordProtected = NAPI.Server.IsPasswordProtected();