Scripting/Client/Events/onClientSpawn

The local player spawned. respawn is 0 for the first/forced spawn and 1 for a respawn after death.

Syntax

onClientSpawn(respawn)

Arguments

Example

function onClientSpawn( respawn )
{
	Message( "onClientSpawn fired" );
}

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

Section: Client events

Categories: Client events | Client events