SetDefaultSpawnLocation

From GTA Network Wiki
Jump to: navigation, search

SetDefaultSpawnLocation
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sets the game mode default spawn location

Syntax

void NAPI.Server.SetDefaultSpawnLocation(Vector3 location, float heading = 0f);

Required Arguments

  • location: the new name of the gamemode. Should be in Vector3 type.
  • heading: the new name of the gamemode. Should be in float type.

Usage example(s)

Example Description

NAPI.Server.SetDefaultSpawnLocation(new Vector3(0.0,0.0,0.0), 200.0f);

Changelog

Version Description
1.0 Release.

References