Parametersitem - string - The Item with which the player gets cuffed - Optional
player - player - The target Player that gets cuffed - Optional
exports.msk_handcuffs:cuffPlayer(item, player)-- The player next to your player gets cuffed without item (isAdminCuffed)exports.msk_handcuffs:cuffPlayer()-- The player next to your player gets cuffed with cuffsexports.msk_handcuffs:cuffPlayer('cuffs')-- closestPlayer gets cuffed without item (isAdminCuffed)exports.msk_handcuffs:cuffPlayer(nil, closestPlayer)-- closestPlayer gets cuffed with cuffsexports.msk_handcuffs:cuffPlayer('cuffs', closestPlayer)
hardcuffPlayer
Hardcuff a player
Parametersitem - string - The Item with which the player gets hardcuffed - Optional
player - player - The target Player that gets hardcuffed - Optional
exports.msk_handcuffs:hardcuffPlayer(item, player)-- The player next to your player gets cuffed without item (isAdminCuffed)exports.msk_handcuffs:hardcuffPlayer()-- The player next to your player gets cuffed with cuffsexports.msk_handcuffs:hardcuffPlayer('hardcuff')-- closestPlayer gets cuffed without item (isAdminCuffed)exports.msk_handcuffs:hardcuffPlayer(nil, closestPlayer)-- closestPlayer gets cuffed with cuffsexports.msk_handcuffs:hardcuffPlayer('hardcuff', closestPlayer)
uncuffPlayer
Uncuff a player
It will check if the item is correct or not to uncuff someone.
Parametersitem - string - The Item with which the player gets uncuffed - Optional
player - player - The target Player that gets uncuffed - Optional
exports.msk_handcuffs:uncuffPlayer(item, player)-- The player next to your player gets cuffed without item (isAdminCuffed)exports.msk_handcuffs:uncuffPlayer()-- The player next to your player gets cuffed with cuffsexports.msk_handcuffs:uncuffPlayer('cuff_keys')-- closestPlayer gets cuffed without item (isAdminCuffed)exports.msk_handcuffs:uncuffPlayer(nil, closestPlayer)-- closestPlayer gets cuffed with cuffsexports.msk_handcuffs:uncuffPlayer('cuff_keys', closestPlayer)
ankleTrackerPlayer
Activate/Deactivate an Ankletracker for a player
Parametersplayer - player - The target Player - Optional
exports.msk_handcuffs:ankleTrackerPlayer(player)-- The player next to your playerexports.msk_handcuffs:ankleTrackerPlayer()-- Specific Playerexports.msk_handcuffs:ankleTrackerPlayer(closestPlayer)
headbagPlayer
Activate/Deactivate a Headbag for a player
Parametersplayer - player - The target Player - Optional
exports.msk_handcuffs:headbagPlayer(player)-- The player next to your playerexports.msk_handcuffs:headbagPlayer()-- Specific Playerexports.msk_handcuffs:headbagPlayer(closestPlayer)