ยง 1204. Compensation of guardian ad litem. A court may allow a guardian ad litem a reasonable compensation for his services to be paid in whole or part by any other party or from any recovery had on behalf of the person whom such guardian represents or from such person's other property. No order allowing compensation shall be made except on an affidavit of the guardian or his attorney showing the services rendered.