Перейти к содержанию

SetDefaultSpawnLocation

Материал из RAGE MP Wiki Archive

Sets the default spawn location (e.g. on autorespawn).


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

<syntaxhighlight lang="csharp"> NAPI.Server.SetDefaultSpawnLocation(new Vector3(0, 100, 100), 180); </syntaxhighlight>