You can use variable to save bombs. So, every player and bomb contact, add 1 to "bomb" variable. Then every bomb spawned, just subtact 1 from "bom" variable. And makes event like this: If "bomb" variable = 0, spawnable bomb disable..
You can ask me if you dont understand