Approved Reset Score

Plug-ins compatibility with Zombie Escape Rebuild v1.x only.


Post Reply
User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 486
Joined: 5 years ago
Location: The Red City ❤
Contact:

Reset Score

#1

Post by z0h1r-LK » 1 month ago

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:


Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 1 guest