This actually breaks other APIs in part because most APIs haven't been structured to interact with other APIs. They are stand alone. By setting player id to API, all scripts that are looking for GM fail. I'd suggest setting API to GM rather than API.