Each spawn point must have its own unique ID number. These ID numbers cannot be reused. It is best to start from 0 and go up from there. If you have 30 different spawn points in your map, you will need 30 different spawn id's (0-29). This is completely different from the SetGroup parameter.
Source and more details