Contents

Prototype

BZF_API bool bz_zapPlayer(int player );

Parameters

int player

Player index to force a respawn.

Returns

False if the player does not exist, or is alive.[br]
True if the operation completed.

Description

This function is used to force a player to respawn. Her or his client will simply respawn and continue playing. Any flags will be dropped. Plug-ins that wish to move the player to a specific location must provide that position on the bz_eGetPlayerSpawnPosEvent event.