3rd conditional.. hypothetical situations...It is normally used to imagine a different past situation than the one that happened.
wrong structure man.... when speaking it may not wrong... when writing :no:
If he had come this wouldn't have happened :D