Haha, it might just be me being a bit anal about it but i dont like 1 function being threaded several times...recipe for disaster as theyll conflict at some point
Go to the main.gsc file (see it down the left of gsc studio window along with map edits.gsc and more) and at the top, you will see lots of includes...eg
#include maps/mp/_utility;
After those you will see the init() code i posted above...stick it there instead of in functions haha