OnWeaponReload
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnWeaponReload( BaseProjectile instance, BasePlayer player )
{
Puts( "OnWeaponReload works!" );
}
Location
- BaseProjectile::StartReload(BaseEntity/RPCMessage msg)
csharp
//---
base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
this.reloadStarted = false;
this.reloadFinished = false;
return;
}
if (Interface.CallHook("OnWeaponReload", this, player) != null)
{
return;
}
this.reloadFinished = false;
this.reloadStarted = true;
//---