OnItemRemove
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private object OnItemRemove( Item instance )
{
Puts( "OnItemRemove works!" );
return null;
}Location
- Item::Remove(float fTime)
csharp
public void Remove(float fTime = 0f)
{
if (removeTime > 0f || Interface.CallHook("OnItemRemove", this) != null)
{
return;
}
if (isServer)
{
//---