OnSpinWheel
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnSpinWheel( BasePlayer player, SpinnerWheel instance )
{
Puts( "OnSpinWheel works!" );
}
Location
- SpinnerWheel::RPC_Spin(BaseEntity/RPCMessage rpc)
csharp
//---
{
return;
}
if (this.AnyoneSpin() || rpc.player.CanBuild())
{
if (Interface.CallHook("OnSpinWheel", rpc.player, this) != null)
{
return;
}
if (this.velocity > 15f)
{
//---