Skip to content

OnFindSpawnPoint

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnFindSpawnPoint( BasePlayer forPlayer )
{
    Puts( "OnFindSpawnPoint works!" );
}

Location

  • ServerMgr::FindSpawnPoint(BasePlayer forPlayer)
csharp
public static BasePlayer.SpawnPoint FindSpawnPoint(BasePlayer forPlayer = null)
{
	object returnvar = Interface.CallHook("OnFindSpawnPoint", forPlayer);
	if (returnvar is BasePlayer.SpawnPoint)
	{
		return (BasePlayer.SpawnPoint)returnvar;
	}
	bool flag = false;
//---

Released under the MIT License.