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

[CS:GO/CS:S][Gangs] Credits Donation (v1.2, 10/19/2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Plugin ID:
6129
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Credits Donation system for Jailbreak Gangs
Old 05-17-2018 , 18:33   [CS:GO/CS:S][Gangs] Credits Donation (v1.2, 10/19/2018)
Reply With Quote #1

Gangs - Credits Donation (v1.2)

About
This plugin is designed to work with Jailbreak Gangs from Headline.

This plugin will work with all the shop modules that are supported by Jailbreak Gangs.

Features
- Setup minimum/maximum allowed donation
- Fee system, define if receiver or sender pay for the fees.
- Change amount of fee if desired

Commands
Quote:
sm_donatecredits nick/#userid amount
CVARs
Quote:
credits_donation_min_amount (Default: 0) - Minimum amount of credits required to donate.
credits_donation_max_amount (Default: 0) - Maximum amount of credits required to donate. 0 = Unlimited.
credits_donation_fee (Default: 0.0) - Fees for the donation.
credits_donation_fee_subtract (Default: 1) - Receiver pays for the fees.
Example: If "credits_donation_fee" is "0.1" and the sender sends 1000 credits.
Quote:
credits_donation_fee_subtract 1 = Receiver will receive 900
credits_donation_fee_subtract 0 = Sender will need 1100 to send 1000 to the receiver, and receiver will receive 1000.
Installation
Drop "hl_gangs_credit_donation.smx" inside Plugins folder.
Drop "hl_gangs_credits_donation.phrases.txt" inside Translations folder.

Change map to generate the .cfg file and setup your cvars.

Dependencies
Jailbreak Gangs by Headline.

Changelog
Quote:
2018-10-19 (v1.2)
- Forget to use the generic function to get the client credits insted of gangs function.

2018-06-13 (v1.1)
- Added support for other shop modules.

2018-05-17 (v1.0)
* Initial Release *
Credits
Thanks to Headline for the Jailbrak Gangs and for the shop modules verification that I used on this plugin.

Requested by j1gg here

If you have any issues, just let me know.
Attached Files
File Type: txt hl_gangs_credits_donation.phrases.txt (958 Bytes, 396 views)
File Type: smx hl_gangs_credit_donation.smx (13.5 KB, 281 views)
File Type: sp Get Plugin or Get Source (hl_gangs_credit_donation.sp - 321 views - 6.6 KB)
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 10-19-2018 at 21:26. Reason: Version 1.2
plock is offline
j1gg
Senior Member
Join Date: Dec 2015
Old 06-05-2018 , 03:54   Re: [CS:GO/CS:S][Gangs] Credits Donation (v1.0, 05/17/2017)
Reply With Quote #2

Can you add support for credits from myjailbreakshop?
__________________
j1gg is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 06-05-2018 , 09:07   Re: [CS:GO/CS:S][Gangs] Credits Donation (v1.0, 05/17/2017)
Reply With Quote #3

Quote:
Originally Posted by j1gg View Post
Can you add support for credits from myjailbreakshop?
Yes, I'll do that as soon as I have some free time. I'm quite busy for next two weeks.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 06-13-2018 , 10:11   Re: [CS:GO/CS:S][Gangs] Credits Donation (v1.0, 05/17/2017)
Reply With Quote #4

Quote:
Originally Posted by j1gg View Post
Can you add support for credits from myjailbreakshop?
Done.

I mistakenly removed the translation file, but nothing was changed on the translation.

EDIT: Let me know if you have issues with the credits, I couldn't test with the other shop modules, but the changes were simple and I used the same method as Headline did on his plugin.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 06-13-2018 at 10:14.
plock is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 10-19-2018 , 21:11   Re: [CS:GO/CS:S][Gangs] Credits Donation (v1.2, 10/19/2018)
Reply With Quote #5

Updated to Version 1.2
Quote:
2018-10-19 (v1.2)
- Forget to use the generic function to get the client credits insted of gangs function.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
Luck_Power
Junior Member
Join Date: Jul 2018
Location: Brazil
Old 10-19-2018 , 21:18   Re: [CS:GO/CS:S][Gangs] Credits Donation (v1.2, 10/19/2018)
Reply With Quote #6

Nice!

*Ty for the help about natives
__________________
̶.
ᴘʀᴏғɪʟᴇɢʀᴏᴜᴘᴅɪsᴄᴏʀᴅᴘᴀɢᴇ

Sorry for my bad english, i'm trying to help
Luck_Power 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 10:37.


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