πŸ”§Misc

Get the contacts list of a player's phone

-- @param imei - The IMEI of the phone.
exports.yseries:GetContacts(imei)

Set phone disabled state for a player

Sets the phone disabled state bag for a player.

-- @param sourceId number Player source ID
-- @param disabled boolean Whether the phone should be disabled
-- @return boolean Success status
exports.yseries:ToggleDisabled(sourceId, disabled)

Example:

-- Disable phone for player (e.g., when handcuffed)
exports.yseries:ToggleDisabled(source, true)

-- Enable phone for player
exports.yseries:ToggleDisabled(source, false)

Get phone disabled state for a player

Gets the current phone disabled state for a player from the state bag.

Example:

Last updated