SetDefaultSpawnLocation
Sets the default spawn location (e.g. on autorespawn).
C# Syntax
void NAPI.Server.SetDefaultSpawnLocation(Vector3 location, [float heading = 0]);
Parameters
- location: parameter input should be in Vector3 type
- heading: parameter input should be in float type
Example
NAPI.Server.SetDefaultSpawnLocation(new Vector3(0, 100, 100), 180);