CanUseGesture
Usage
- Return a bool value to override default behavior
Example Autogenerated
csharp
private bool? CanUseGesture( BasePlayer player, GestureConfig instance )
{
Puts( "CanUseGesture works!" );
return null;
}Location
- GestureConfig::IsOwnedBy(BasePlayer player, bool allowCinematic)
csharp
public bool IsOwnedBy(BasePlayer player, bool allowCinematic = false)
{
object obj = Interface.CallHook("CanUseGesture", player, this);
if (obj is bool)
{
return (bool)obj;
}
if (forceUnlock)
//---