CanDropActiveItem
Usage
- Return a bool value to override default behavior
Example Autogenerated
csharp
private bool? CanDropActiveItem( BasePlayer instance )
{
Puts( "CanDropActiveItem works!" );
return null;
}Location
- BasePlayer::ShouldDropActiveItem()
csharp
public virtual bool ShouldDropActiveItem()
{
object obj = Interface.CallHook("CanDropActiveItem", this);
if (obj is bool)
{
return (bool)obj;
}
return true;
//---