Cstrike: cs_set_user_deaths - Add a param to choose whether scoreboard should be updated
This commit is contained in:
1 parent
71c6ac8c2e
commit
b82588f081
2 files changed
+20
-9
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user