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

IsPasswordProtected

Материал из RAGE MP Wiki Archive
Версия от 06:29, 14 июля 2020; imported>Nobody
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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>