public OnPlayerSpawn(playerid) return SetPlayerPos(playerid,gInfo[playerid][g_pos_hq_int][0],gInfo[playerid][g_pos_hq_int][1],gInfo[playerid][g_pos_hq_int][2]);
You should make this a timer, because it could interface( or w,e ) with "random spawns".
And you should check if the player is in a group ;d