Scripting/Server/Events/onPlayerBusted

A cop busted the player. Fires right after the game restarted him at the busted restart point, so player.Pos = ... inside it decides where he ends up. Not fired for deaths (see onPlayerDeath).

Syntax

onPlayerBusted(player)

Arguments

Example

function onPlayerBusted( player )
{
	MessagePlayer( "onPlayerBusted fired", player );
}

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

Section: Spawning, deaths and combat

Categories: Server events | Spawning, deaths and combat