is_user_connected
- Синтаксис
-
native is_user_connected(index);
Переменная | Описание |
---|---|
index |
Client index |
- Описание
- Returns if the client is connected.
- Пометка
-
This does not throw an error if the provided index is out of the 1 to MaxClients range. That means you can safely use this native without manually verifying that the index is a valid client index.
- Возвращает
- 1 if client is connected, 0 otherwise