Skip to content

OnPhotoCaptured

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPhotoCaptured( PhotoEntity photoEntity, Item item, BasePlayer player, Byte[] array )
{
    Puts( "OnPhotoCaptured works!" );
}

Location

  • InstantCameraTool::TakePhoto(BaseEntity/RPCMessage msg)
csharp
//---
			}
		}
		Pool.FreeUnmanaged<BasePlayer>(ref list);
	}
	item.LoseCondition(1f);
	Interface.CallHook("OnPhotoCaptured", photoEntity, item, player, array);
}

Released under the MIT License.