Tredpro Standard Handcuffs
The Tredpro Standard Handcuffs are free police handcuffs provided by Tredpro and the NTBI Group.
Overview
The Tredpro Standard Handcuffs come in black and nickel finishes.
Handcuffs are attached to other people using an applier tool. When worn, the user can aim in mouselook and click someone nearby. The handcuffs will attempt to attach to the person clicked.
These handcuffs require attachment permissions from the wearer and do not use any RLV functions or otherwise restrict the wearer. They are for roleplay purposes only.
An API is available for scripters wishing to check if someone is wearing the handcuffs.
Click here for the latest version of the Tredpro Standard Handcuffs.
API Instructions
Third-party roleplay manufacturers can implement the following API to manage handcuffs.
All communication with the handcuffs is done via channel -528199420
.
The following commands can be sent to the handcuffs using llRegionSayTo to the requested avatar's UUID:
- HANDCUFFS_CHECK
- Format:
HANDCUFFS_CHECK
- Can be sent to check if the user is wearing handcuffs. If so, HANDCUFFS_WORN is returned. If not, nothing is returned.
- Can also be used with llRegionSay or other chat functions to detect all handcuffed users in the function's range.
- Format:
- HANDCUFFS_REMOVE
- Format:
HANDCUFFS_REMOVE|[skip sound]|[removal message]
- Can be sent to remove the handcuffs. If the object that sends this command is not owned by the wearer, the wearer will be notified of which object sent the command and who owns it.
- Do not use llRegionSay or other chat functions with this command, or it may have unintended consequences.
- [skip sound] is a flag to skip the removal sound, either 0 (play sound, default) or 1 (do not play sound).
- [removal message] is the message sent to the wearer informing them that their handcuffs were removed.
- Format:
The following command will be sent from the handcuffs back to the object that sent the HANDCUFFS_CHECK command:
- HANDCUFFS_WORN
- Format:
HANDCUFFS_WORN
- Sent in response to HANDCUFFS_CHECK if the handcuffs are being worn by the targeted user.
- The handcuffs will always be owned by the wearer, so you can use llGetOwnerKey to determine who is wearing the handcuffs.
- Format: