Skip to content

How to check if a player is handcuffed? #4020

Answered by iBowie
barashF asked this question in Q&A
Discussion options

You must be logged in to vote

Check PlayerAnimator class and these three fields

public CSteamID captorID; // player who applied handcuffs onto a player
public ushort captorItem; // id of handcuffs that were applied
public ushort captorStrength; // how many times player needs to lean left/right to break handcuffs

Also, alternatively, check PlayerAnimator.gesture for EPlayerGesture.ARREST_START

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by barashF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants