OnSprayRemove
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnSprayRemove( SprayCanSpray instance, BasePlayer player )
{
Puts( "OnSprayRemove works!" );
}
Location
- SprayCanSpray::Server_RequestWaterClear(BaseEntity/RPCMessage msg)
csharp
//---
}
if (!this.Menu_WaterClear_ShowIf(player))
{
return;
}
if (Interface.CallHook("OnSprayRemove", this, player) != null)
{
return;
}
base.Kill(BaseNetworkable.DestroyMode.None);
}