Перейти к содержанию

IsPasswordProtected

Материал из RAGE MP Wiki Archive

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.


bool NAPI.Server.IsPasswordProtected();

Example

<syntaxhighlight lang="csharp"> bool isPasswordProtected = NAPI.Server.IsPasswordProtected(); </syntaxhighlight>