On a student visa, you can work up to 20 hours per week during semester time. At the end of year summer holidays (December – February), you can work full-time on your student visa.
Refer to Immigration New Zealand for the specific requirements about working while studying.