OnPlayerHandcuffed
Usage
- No return behavior
Example Autogenerated
csharp
private void OnPlayerHandcuffed( BasePlayer victim, BasePlayer handcuffer )
{
Puts( "OnPlayerHandcuffed works!" );
}
Location
- Handcuffs::SV_HandcuffVictim(BasePlayer victim, BasePlayer handcuffer)
csharp
//---
ConVar.Inventory.EquipItemInSlot(victim, 0);
}
victim.ClientRPC<int, ItemId>(RpcTarget.Player("SetActiveBeltSlot", victim), ownerItem.position, ownerItem.uid);
this.SetLocked(true, victim, ownerItem);
Effect.server.Run(this.lockEffect.resourcePath, victim, 0u, Vector3.zero, Vector3.zero, null, false, null);
Interface.CallHook("OnPlayerHandcuffed", victim, handcuffer);
}