Suggested Points System (SQL Support)

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


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

Points System (SQL Support)

#1

Post by z0h1r-LK »

Points System

• Description:

  • This add-on give players point(s) when infect Human or kill Human or Zombie...etc

• Screenshots:

  • Image Image Image

• Installation and Instructions:

  • Compile plug-in with AMX Mod X 1.10.0.5467 or newer.

  • Copy translate keys and paste them in zombie_escape.txt in section [en].

• Translation Keys:

    1. MSG_POINTS = "!tYour points is !g%d"
    2. MSG_POINTS_NOTIFY = "+%d Point(s)"
    3. HUD_POINTS_NOTIFY = "+%d Point(s)"

• CVars:

    1. ze_points_save 0            // Save Type (0 = nVault | 1 = MySQL/SQLite).
    2. ze_points_auth 1            // Auth Type (0 = Name | 1 = AuthID).
    3. ze_points_start 0           // How many Point(s) do player get when join server first time (0 = Disabled).
    4. ze_points_infect 1          // How many Point(s) do Zombie get when Infect Human (0 = Disabled).
    5. ze_points_hm_killed 2       // How many Point(s) do Zombie get when Kill Human (0 = Disabled).
    6. ze_points_zm_killed 5       // How many Point(s) do Zombie get when Kill Zombie (0 = Disabled).
    7. ze_points_escape_success 10 // How many Point(s) do Zombie get when Escape Success (0 = Disabled).
    8. ze_points_hud_mode 0        // Points Notify message mode (0 = Disabled | 1 = Chat | 2 = Text Center | 3 = HUD | 4 = DHUD).
    9. ze_points_hud_red 255       // Points Notify message HUD Red Color (0..255).
    10. ze_points_hud_green 180     // Points Notify message HUD Green Color (0..255).
    11. ze_points_hud_blue 30       // Points Notify message HUD Blue Color (0..255).

• Changes Log:

    1. [v1.0]
    2.  - First release.
    3.  
    4. [v1.1]  ; <~~ Current
    5.  - Minor improvements
    6.  - Added SQLite save type.
    7.  - Added new auth type (Name).
    8.  - Added missing translation keys.
    9.  - Added missing include 'ze_points.inc'.
    10.  - Fixed load and save issues (servers no steam).

• Commands:

  • /pts or /points - Show number of Points.

• Downloads:

Last edited by z0h1r-LK 7 months ago, edited 1 time in total.
Reason: Update to v1.1
czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 590
Joined: 8 years ago
Contact:

#2

Post by czirimbolo »

Nice idea, make some awards for getting 100 points or something like that. For example, when you reach 100 points you will get some XP or coins once.
You can make also some kind of point's ranking.

Image
User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 588
Joined: 6 years ago
Location: The Red City ❤
Contact:

#3

Post by z0h1r-LK »

@czirimbolo I need finish some Zombie classes and I will make awards with Points System

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 588
Joined: 6 years ago
Location: The Red City ❤
Contact:

#4

Post by z0h1r-LK »

  • Updated to v1.1

hunter
Member
Member
India
Posts: 5
Joined: 1 year ago
Contact:

#5

Post by hunter »

You can add these option:

  • native ze_register_points_item

  • forward ze_points_item_selected

  • Open point shop menu with these commands: "say /pmenu", "ze_pmenu", native ze_points_menu(id)

  • ze_give_points <name> <amount> for ADMIN_XYZ

  • Point donation feature with menu, command: "/pdonate"

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 588
Joined: 6 years ago
Location: The Red City ❤
Contact:

#6

Post by z0h1r-LK »

@hunter Okey!

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