Scripting/Server/Classes/Player/ForceToSpawnScreen

Sends the player back to the class selection screen.

Syntax

player.ForceToSpawnScreen()

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "forcetospawnscreen" )
	{
		player.ForceToSpawnScreen();
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Player

Categories: Server methods | Player