Page 1 of 1

Reset Score

Posted: 17 Mar 2024, 15:03
by z0h1r-LK

Reset Score

Description:

  • This add-on allows the player to reset their score from the scoreboard and server.

Screenshots:

  • Image

Instruction && Installation:

  • Compile plug-in with AMX Mod X 1.9 or higher

  • Copy translation keys and put them in zombie_escape.txt in section [en].

Translation Keys:

  1. MSG_RS_SUCCESS = "Your score has been reset successfully!"
  2. MSG_RS_COOLDOWN = "You can use command !t/rs !yafter !g%.2f !ysecond(s)!"
  3. MSG_RS_DISABLED = "Reset Score command is disabled!"

Commands:

  • /rs or /resetscore • Reset score from scoreboard.

Console Variables:

  1. ze_rs_enable 1        // Reset score cmd (1 = Enabled | 0 = Disabled)
  2. ze_rs_cooldown "60.0" // Time before re-activate reset score command for player in seconds (0.0 = Disabled)

Natives:
You can use this native for Menu's, If u want add reset score in Users Menu or stuff
ze_reset_user_score(client) - Return true when successfully, false if player not on game

Downloads: