Client

Exports - Clientside

isPlayerNew

Check if the Player is whitelisted or not.

Parameters playerId - number - The ServerId of the player - Optional

Returns isWhitelisted - boolean - whether the player is whitelistet or not

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

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

Last updated