If you only have two instances of hitbox, then any collision will always involve player 1 and player 2. So inside this event you can simply pick hitbox by comparing player=1 or player=2 and do what you need to do with them.
Another option is to add hitbox into a family. Then you can use "Hitbox on collision with HitboxFamily", inside this event hitbox object will be your player #1 and HitboxFamily will be player #2. (assuming you created them in this order)