Cstrike: cs_set_user_deaths - Add a param to choose whether scoreboard should be updated

This commit is contained in:
Arkshine
2015-07-04 16:21:48 +02:00
parent 71c6ac8c2e
commit b82588f081
2 changed files with 20 additions and 9 deletions

View File

@ -152,13 +152,14 @@ native cs_get_user_deaths(index);
*
* @param index Client index
* @param newdeaths New value to set
* @param scoreboard If true the scoreboard will be updated to reflect the new value.
*
* @noreturn
* @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.
*/
native cs_set_user_deaths(index, newdeaths);
native cs_set_user_deaths(index, newdeaths, bool:scoreboard = true);
/**
* Returns index of the entity that a hostage is following.