The way I see it, you friend asked you to be the photographer for free! for an event for his client. You agreed.
You went down and found out that he paid for 40 models and 4 videographers and that you were the official photographer there.
Now the client wants the photographs off the event, he paid your friend for.
In this case, just explain to the client that your friend has not paid you anything for taking those photos.