Whenever an officer of the National Guard or Naval Militia is detailed for special duty in any matter relating to the National Guard or Naval Militia, by order of the Governor, that officer shall be allowed the same pay and allowances as officers of similar grade in the United States Army and United States Navy and actual traveling expenses. An enlisted man or woman similarly detailed shall be allowed the same pay and allowances as enlisted men and women of similar grade in the United States Army and United States Navy and actual traveling expenses, except that family allowances shall not be allowed to those enlisted men and women. An officer of the National Guard or Naval Militia may, with his or her consent, be detailed for special duty without expense to the state, except and provided, however, the officer may be paid actual traveling expenses. An officer of the National Guard or Naval Militia may, with his or her consent, be detailed for duty and may be paid compensation in a grade lower than the officer actually holds provided the officer voluntarily waives all compensation in excess of the lower grade.
If not inconsistent with the performance of required military duty, members of the National Guard may perform emergency services as defined in Section 18531 of the Government Code, and as provided in Section 19888 of the Government Code, and shall receive as compensation therefore the going wages paid for similar service at or near the place of performance.