View Single Post
Author Message
Oylsister
Senior Member
Join Date: Aug 2019
Location: KhonKaen, Thailand
Old 03-07-2021 , 10:59   [Store/Shop] Defend Credits for Z:R
Reply With Quote #1

Description

This is a simple plugin to reward every player with credits after they do damage to zombie in specific value.
This plugin is designed for both Shop Hlmod.ru, Zephyrus Store plugin and Zombie Mod and Zombie Escape gamemode, which run with Zombie:Reloaded plugin.

To match store plugin that you using now. simply put '#define STORE_ZEPHYRUS' or '#define SHOP_HLMOD' on source code. or grab one of compiled plugin here.

Updates and New!

Recently I added support for [Level Ranks] plugin and restriction per round and per map to prevent player over farming credits and EXP. and source code is much more active and always be updated on the github first, I recommend you to check the github link for hotfix and etc.

for Level Ranks support just simply put '#define LR_RANK'


Convar that you can change.
Code:
"sm_shop_defendcredit_enable" = 1.0 "Enable Plugin or not?" // 1 = true, 0 = false
"sm_shop_defendcredit_damage" = 5000 "How much damage that player need to get the credit" // Example: 5000 damage per 10 credits
"sm_shop_defendcredit_amount" = 10 "How much credits player will received after reach specific damage" // Player get 10 credits after did 5000 damage
"sm_shop_defendcredit_prefix" = "{green}[Defend]", "What prefix you would like to use?"
"sm_shop_defendcredit_maxtype" =  0 "Maximum type that you want [0 = Disabled, 1 = Round, 2 = Map]
"sm_shop_defendcredit_maximum" = 5 "Maximum time that player will receive credits""
Github: https://github.com/oylsister/Shop-Defend-Credit-Reward
Attached Files
File Type: sp Get Plugin or Get Source (Shop_defend.sp - 113 views - 11.2 KB)
File Type: smx Shop_defend_zephyrus.smx (15.5 KB, 129 views)
File Type: smx Shop_defend_hlmod.smx (15.4 KB, 113 views)
__________________

Last edited by Oylsister; 03-09-2021 at 00:37. Reason: Updated file to new version (1.3)
Oylsister is offline