is_user_authorized
Syntax
native is_user_authorized(index);
Usage
| Parameter | Description |
|---|---|
| index | Client index |
Description
Returns if the client is authorized.
Note
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.
Return
1 if client is authorized, 0 otherwise