wopox1337 / CSDM-ReAPI

🔫 Enables deathmatch style gameplay (respawning, gun selection, spawn protection, etc). Fork @Vaqtincha version.
https://dev-cs.ru/resources/565
21 stars 9 forks source link

Add `allow_reset_score` setting for misc and `API` #31

Closed wopox1337 closed 3 years ago

wopox1337 commented 3 years ago

new in config.ini

; Allow reset score for players by chat cmd '/rs'.
allow_reset_score = 1

New forward:

/** Player reset score.
*
* @param pPlayer            Player id
*
* @note                 return PLUGIN_HANDLED will block change
*/
forward CSDM_PlayerResetScore(const pPlayer)