Table of Contents

Lua RespawnPlayer

void RespawnPlayer( int playerIndex );

Description

Force the player to INSTANTLY respawn. This does not cause the player to suicide, they will vanish and go to their chosen spawn spot. *NOTE* If the player cannot respawn due to restrictions placed in CanPlayerRespawn then they will not respawn.

Version

Beta 3.1

Example

0@@