I was looking at the exports in the spawnmanager docs but I’m not sure how to format them in C#.
This makes sense:
Exports["spawnmanager"].setAutoSpawn(false);
But using the loadSpawns export is more complicated and I don’t think i’m formatting it right:
Exports["spawnmanager"].loadSpawns(
{
??? some kinda json format here???
}
);
Any advice is appreciated!
Bonus question:
Does the loadSpawns() export override all existing spawns?
Bonus Question 2:
Is there anyway to pass the spawn coordinates over in the same call.
Something like:
Exports["spawnmanager"].spawnPlayer(x,y,z,h);