Raised This Month: $12 Target: $400
 3% 

[CS:GO] GoldMember / DNS Benefits <1.6> <27.06.2019>


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 09-04-2018 , 16:26   [CS:GO] GoldMember / DNS Benefits <1.6> <27.06.2019>
Reply With Quote #1

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 ]
Attached Files
File Type: sp Get Plugin or Get Source (new_gm_shop.sp - 383 views - 3.4 KB)
__________________

Last edited by kratoss1812; 07-10-2019 at 07:37.
kratoss1812 is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 09-04-2018 , 19:23   Re: [CS:GO] GoldMember / DNS Benefits 1.0
Reply With Quote #2

Lol. Why not add a compiled smx to github?
__________________
Neuro Toxin is offline
FzR
Senior Member
Join Date: May 2017
Old 09-04-2018 , 21:09   Re: [CS:GO] GoldMember / DNS Benefits 1.0
Reply With Quote #3

because you have to change your text( DNS ) from here and compile this plugin not generate .cfg

Code:
static const char SERVER[] = "YOUR DNS";
FzR is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 09-05-2018 , 09:25   Re: [CS:GO] GoldMember / DNS Benefits 1.0
Reply With Quote #4

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
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 09-05-2018 at 09:27.
plock is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 09-05-2018 , 16:07   Re: [CS:GO] GoldMember / DNS Benefits 1.0
Reply With Quote #5

Quote:
Originally Posted by plock View Post
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 ;)
__________________
kratoss1812 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 09-07-2018 , 05:50   Re: [CS:GO] GoldMember / DNS Benefits 1.0
Reply With Quote #6

Quote:
Originally Posted by kratoss1812 View Post
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.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 09-07-2018 , 09:45   Re: [CS:GO] GoldMember / DNS Benefits 1.0
Reply With Quote #7

Quote:
Originally Posted by arne1288 View Post
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 is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 09-07-2018 , 15:56   Re: [CS:GO] GoldMember / DNS Benefits 1.0
Reply With Quote #8

Update 1.2 - Convars Name Updated
__________________
kratoss1812 is offline
kratoss1812
Senior Member
Join Date: May 2018
Location: Romānia
Old 09-08-2018 , 13:48   Re: [CS:GO] GoldMember / DNS Benefits 1.3
Reply With Quote #9

Updaet 1.3 - Now Gold Member get money
__________________
kratoss1812 is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 09-20-2018 , 12:11   Re: [CS:GO] GoldMember / DNS Benefits 1.3
Reply With Quote #10

FYI: similar plugin https://forums.alliedmods.net/showthread.php?t=306360
__________________
ImACow is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:01.


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