Whatever. If you want to give another player resource you should:
1) open menu (not game menu with save, game settings etc., but menu where you can choose: game menu, units information, game information, option with transparents buildings [on or off] and ...) and the last option is transfer resources,
2) you choose player (if you play with friends and AI, there will be only your friends, you cannot transfer yours resources to computer AI),
3) type od resource and how many of it you want to give...
4) ... and accept.
This way you can help your ally and pay contribusion to your enemy ;]
I'm sorry for my english, if I wrote something not clearly write about it and I try to explain it again. Good luck!