native

cs_set_user_deaths

Syntax

native cs_set_user_deaths(index, newdeaths, bool:scoreboard = true);

Description

Sets client's deaths.

Parameters

index Client index
newdeaths New value to set
scoreboard If true the scoreboard will be updated to reflect the new value.

Return

This function has no return value.

Error

If the client index is not within the range of 1 to
MaxClients, or the client is not connected, an error
will be thrown.