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

SM Bank Mod: MySQL


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Nican
Veteran Member
Join Date: Jan 2006
Location: NY
Plugin ID:
167
Plugin Version:
3.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Bank mod for source mod, mysql based
    Old 08-27-2007 , 00:23   SM Bank Mod: MySQL
    Reply With Quote #1

    Bank mod: SQL

    Original Author:
    mateo10
    Edit because
    Request to add MySQL support

    Description
    Users can deposit/withdraw money money from a bank account at any time

    Commands
    • say !deposit (amount) - Deposit money into your bank
    • say !withdraw (amount) - Get money from your bank
    • say !bankstatus - Shows how much money you have in your bank
    • say !bank - Shows a friendly menu
    • sm_bankadd / sm_bankset (search person) (amount)

    Cvars
    • sm_bank_allow (default: 1) - Enable/Disable this plugin
    • sm_bank_max (default: 50000) - The maximun amount of money is allowed in the bank
    • sm_bank_fee (default: 250) - How much users must pay for each deposit
    • sm_bank_transfer (default: 1) - Allow users to share money between them selfs
    • sm_bank_interest (default: 5.0) - % of interest players will get per round
    • sm_bank_pistol (default: 0) -Set to 1 to block withdraw during pistol round

    Special thanks to:
    • sessus - For the German translation.


    Change log
    • August 26, 2007
      • Initial release
    • August 27, 2007
      • Fixed fee error
      • Fixed money setting if player reached limit
    • August 29, 2007
      • Fixed small error
    • September 04, 2007
      • Added menu
      • Added bank money transferring
      • Added money with commas
    • September 06, 2007
      • Fixed money error... Displayed wrong number when depositing
    • October 25, 2007
      • Fixed error that people could not transfer money
      • Set maxmoney to 0 for unlimited money
      • Add commands sm_setmoney / sm_addmoney to players
    • October 27, 2007
      • Fixed transfer error of max clients not registering
    • November 4, 2007
      • Fixed possible change of client disconnecting while transferring money
      • Fixed some memory leaks
      • Fixed error of clients getting more money then they could on interest
    • November 24, 2007
      • Added cvar to block usage of withdraw during pistol round
    • March 22, 2007
      • Made menu show money values relative to how much money the player has.
    Attached Files
    File Type: txt plugin.smbank.txt (4.2 KB, 4573 views)
    File Type: sp Get Plugin or Get Source (bank.sp - 6952 views - 23.7 KB)
    __________________
    http://www.nican132.com
    I require reputation!

    Last edited by Nican; 05-11-2009 at 06:54.
    Nican is offline
    Send a message via ICQ to Nican Send a message via MSN to Nican
     



    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 16:08.


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