🟦sam.Player.get_exclusive
Description
Get exclusive reason for a player if he has one.
Aguments
- string id
Returns
Example
local ply = Player(1)
sam.Player.set_exclusive(ply, "jailed")
local exclusive = sam.Player.get_exclusive(ply)
if exclusive then
print(exclusive) -- prints "Player is jailed!"
return
end
Last updated
Was this helpful?