Skip to main content

Client Exports

isPlayerNew

Check if the Player is whitelisted or not.

Parameters
playerId - number - The ServerId of the player - Optional (self if omitted)

Returns
isWhitelisted - boolean

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

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