# Client

## isPlayerNew

Check if the Player is whitelisted or not.

<mark style="color:red;">**Parameters**</mark>\
**playerId** - `number` - The ServerId of the player - ***Optional***

<mark style="color:green;">**Returns**</mark>\
**isWhitelisted** - `boolean` - whether the player is whitelistet or not

```lua
-- Self
local isWhitelisted = exports.msk_whitelist:isPlayerNew()

-- Other Player
local isWhitelisted = exports.msk_whitelist:isPlayerNew(playerId)
```
