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

[ANY] PayPal Donations


Post New Thread Reply   
 
Thread Tools Display Modes
ReZy
SourceMod Donor
Join Date: Dec 2012
Old 07-26-2013 , 18:02   Re: PayPal Donations
Reply With Quote #11

Possible to make it in USD instead of euros? Im going to look into the source myself.
__________________
ReZy is offline
Nikkii
Member
Join Date: Feb 2012
Old 07-26-2013 , 18:03   Re: PayPal Donations
Reply With Quote #12

Client_IsValid could be replaced by "i > 0 && i < MaxClients && IsClientConnected(i) && IsClientInGame(i)", as it is what smlib uses. However all you really need on a command is the i > 0 part, since it is impossible to show it to the server, and the client executing it SHOULD be connected and in game.

Also, a quick suggestion, make a convar for currency (USD, EUR etc) so people who don't use Euros can use it too
__________________
Owner of ProbablyAServer, a server without game changing mods and donation benefits

RCON Helper | [TF2] LogUpload | CCC Donator Tags | PHP Steam API Wrapper

Last edited by Nikkii; 07-26-2013 at 18:03.
Nikkii is offline
ReZy
SourceMod Donor
Join Date: Dec 2012
Old 07-26-2013 , 18:04   Re: PayPal Donations
Reply With Quote #13

Yup, I see in the source where it says EUROS, going to change that for me
__________________
ReZy is offline
Triniayo
Senior Member
Join Date: Apr 2011
Location: #include <germany>
Old 07-26-2013 , 18:06   Re: PayPal Donations
Reply With Quote #14

Plugin has been updated.

Changelogs
Quote:
07/27/2013 - Updated to v1.1
- Added currencies
__________________
If you need any help, feel free to add me on Steam.



Last edited by Triniayo; 07-26-2013 at 18:34.
Triniayo is offline
Send a message via Skype™ to Triniayo
Trosty
Member
Join Date: Oct 2011
Location: Romania
Old 07-26-2013 , 19:26   Re: PayPal Donations
Reply With Quote #15

Can you add to log all donations like steam id and amount?
__________________


-


You need a WebDesigner? Hire me!
Trosty is offline
Send a message via Skype™ to Trosty
tooti
Member
Join Date: Apr 2012
Location: Germany
Old 07-26-2013 , 19:34   Re: PayPal Donations
Reply With Quote #16

Quote:
Originally Posted by Trosty View Post
Can you add to log all donations like steam id and amount?
He can make it but he cannot check if the Donation was successful
__________________
tooti is offline
Triniayo
Senior Member
Join Date: Apr 2011
Location: #include <germany>
Old 07-26-2013 , 19:38   Re: PayPal Donations
Reply With Quote #17

As tooti said,

I can log the SteamIDs which typed !donate <amount>. I can't log if the payment was successfully or not.
__________________
If you need any help, feel free to add me on Steam.


Triniayo is offline
Send a message via Skype™ to Triniayo
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 07-27-2013 , 07:54   Re: PayPal Donations
Reply With Quote #18

I assume line 50 should be
if(args==1)
instead of
if(args > 1 || args <= 1)
__________________

Last edited by alexip121093; 07-27-2013 at 07:54.
alexip121093 is offline
Send a message via MSN to alexip121093
tooti
Member
Join Date: Apr 2012
Location: Germany
Old 07-27-2013 , 08:23   Re: PayPal Donations
Reply With Quote #19

Because Freaky is not Online i made a few changes in his new version
Quote:
*Removed again smlib & AutoExecConfig (he forgott it in his new version)
* Optimizing the Code a bit O.o (Added Nikkii's version of the client-valid part)
@alexip121093: Yea, thats an idea, "args == 1" is the small version of the "args > 1 || args" <=1

The Currency is not restricted to "EUR, USD, CHF" like the Config say's, it support's all currency that Paypal support's!
Attached Files
File Type: sp Get Plugin or Get Source (donate.sp - 403 views - 2.1 KB)
__________________
tooti is offline
Triniayo
Senior Member
Join Date: Apr 2011
Location: #include <germany>
Old 07-27-2013 , 10:03   Re: PayPal Donations
Reply With Quote #20

I just added the 3 most popular currencies.
__________________
If you need any help, feel free to add me on Steam.


Triniayo is offline
Send a message via Skype™ to Triniayo
Reply



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 18:32.


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