This is the best register script for specialization's you will find for Farming Simulator! 

The example is for the script GameExtension.

Edit the values you need to.