AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] GoldMember / DNS Benefits <1.6> <27.06.2019> (https://forums.alliedmods.net/showthread.php?t=310464)

kratoss1812 09-04-2018 16:26

[CS:GO] GoldMember / DNS Benefits <1.6> <27.06.2019>
 
1 Attachment(s)
Free Money & Scoreboard Tag and for people with a specific DNS/ LINK / HOSTNAME in their Steam Name.

Code:

Changes:

* 1.0 First Release
* 1.1 - Added !checkname so the player don't need to retry
        - Added some convars for easier configuration(see below)
* 1.2 - Convars Name Updated
* 1.3 - Added Money Features
        - Added more Convars
* 1.4 - If a player have over 10 hours (configurable) he gets a weapon(confiurable)
        - More and More and More Convars :D
* 1.5 - You can edit after how many seconds after the start of the round, issue an armor / helmet
using ConVar

* 1.6 - Recoded.

* 1.6.1 Added a version that gives you x credits ever x seconds. Working with MyJailShop

* 1.7 - Added armor and now the config will be created. My bad.

Code:

Convars:
* "goldmember_servername", "alliedmods.net", "Your server/community names that players must have in their nickname"

* "goldmember_workfirstround", "0.0", "0 = Give no money first round. 1 = Give money in the first round."

* "goldmember_bonus", "15.0", "How many percent are added to the current player?. Example: 15 = 15% = 15/100"

* "goldmember_tag", "1.0", "Set Gold MemberŪ Tag?"

"goldmember_armor", "1.0", "Give goldmembers armor?"


GitHub [ Download & Sourcecode ]

Neuro Toxin 09-04-2018 19:23

Re: [CS:GO] GoldMember / DNS Benefits 1.0
 
Lol. Why not add a compiled smx to github?

FzR 09-04-2018 21:09

Re: [CS:GO] GoldMember / DNS Benefits 1.0
 
because you have to change your text( DNS ) from here and compile this plugin not generate .cfg

Code:

static const char SERVER[] = "YOUR DNS";

plock 09-05-2018 09:25

Re: [CS:GO] GoldMember / DNS Benefits 1.0
 
You could add a ConVar and add the compiled smx. It will be easier for others to use.

Edit: Also add a cvar to enable/disable the clan tag and edit the name of the clan tag. You can add another cvar for armor amount too and enable/disable helmet. xD

kratoss1812 09-05-2018 16:07

Re: [CS:GO] GoldMember / DNS Benefits 1.0
 
Quote:

Originally Posted by plock (Post 2613814)
You could add a ConVar and add the compiled smx. It will be easier for others to use.

Edit: Also add a cvar to enable/disable the clan tag and edit the name of the clan tag. You can add another cvar for armor amount too and enable/disable helmet. xD

Thanks for tips! Plugin Updated ;)

DarkDeviL 09-07-2018 05:50

Re: [CS:GO] GoldMember / DNS Benefits 1.0
 
Quote:

Originally Posted by kratoss1812 (Post 2613884)
Thanks for tips! Plugin Updated ;)

Even better: Use variable names identifying your plugin, e.g. don't use "dns", take something like the following:

sm_goldmember_dns
sm_goldmember_host
sm_goldmember_hostname
sm_goldmember_domain

"sm_" identifying it is a SouceMod plugin
"goldmember_" identifying it is related to a plugin named "Gold Member"

etc etc.

kratoss1812 09-07-2018 09:45

Re: [CS:GO] GoldMember / DNS Benefits 1.0
 
Quote:

Originally Posted by arne1288 (Post 2614113)
Even better: Use variable names identifying your plugin, e.g. don't use "dns", take something like the following:

sm_goldmember_dns
sm_goldmember_host
sm_goldmember_hostname
sm_goldmember_domain

"sm_" identifying it is a SouceMod plugin
"goldmember_" identifying it is related to a plugin named "Gold Member"

etc etc.

I will change the convars today, thanks for the tip.

kratoss1812 09-07-2018 15:56

Re: [CS:GO] GoldMember / DNS Benefits 1.0
 
Update 1.2 - Convars Name Updated

kratoss1812 09-08-2018 13:48

Re: [CS:GO] GoldMember / DNS Benefits 1.3
 
Updaet 1.3 - Now Gold Member get money

ImACow 09-20-2018 12:11

Re: [CS:GO] GoldMember / DNS Benefits 1.3
 
FYI: similar plugin https://forums.alliedmods.net/showthread.php?t=306360


All times are GMT -4. The time now is 13:06.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.