Character spawn

How to create a point of appearance of characters (multiplayer) for teams A and B?
I have two teams:
A - appears in a certain house
B - appears on the street
The screenshots show the implementation of the command and the standard method of spawn