Skip to content

OnBoomboxStationUpdate

Usage

  • Return a non-null value or bool to override default behavior

Example Autogenerated

csharp
private void OnBoomboxStationUpdate( BoomBox instance, string text, BasePlayer player )
{
    Puts( "OnBoomboxStationUpdate works!" );
}

Location

  • BoomBox::Server_UpdateRadioIP(BaseEntity/RPCMessage msg)
csharp
public void Server_UpdateRadioIP(BaseEntity.RPCMessage msg)
{
	string text = msg.read.String(256, false);
	if (Interface.CallHook("OnBoomboxStationUpdate", this, text, msg.player) != null)
	{
		return;
	}
	if (BoomBox.IsStationValid(text))
	{
//---

Released under the MIT License.