It is easy, especially the giving gold part.
For the gold income, simply create a trigger with a timer (every x seconds of the game...) and add gold to the owner of the control point.
About the taking-ownership, which I think is your question: you have to add the event Unit - Life for all the resource locations you're using.
You could also use the "A unit is attacked event", but there are two good reasons not to: in big maps, it only favors lag, and this event ignores siege weapons' Splash Ground ability, which means players can actually remove the resource point using it.
If you have any doubts, ask away! I'll keep checking the thread.