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

[TF2] MvM Dosh, money! - KF style


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Kemsan
Member
Join Date: Sep 2009
Location: Poland, Bytom
Plugin ID:
3182
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 08-19-2012 , 07:13   [TF2] MvM Dosh, money! - KF style
    Reply With Quote #1


    Dosh, money!

    Description:
    Give your cash to other players - no commands, no amount, just click reload + mb2

    Cvars:

    mvm_drop_money_version - Version of plugin
    mvm_drop_money_info_timer - How often show help info (def 90.0)
    mvm_drop_money_amount - How much money user can drop once (def 50, <= 50.0 - cash small, <= 100 - cash medium, <= 200 cash large)

    Changelog:
    • Version 1.0 (19.08.2012)
      • Initial/Public Release
    Installation:
    • Put drop_dat_cash.smx to sourcemod/plugins
    • Put rdrop_dat_cash.sp to sourcemod/scripting
    Require:

    SDKHooks


    Wait for change map or write in rcon - sm plugins load drop_dat_cash

    Sorry for my bad english:]
    Attached Files
    File Type: sp Get Plugin or Get Source (drop_dat_cash.sp - 1196 views - 7.7 KB)
    File Type: smx drop_dat_cash.smx (7.8 KB, 619 views)
    __________________

    Last edited by Kemsan; 08-19-2012 at 07:13.
    Kemsan is offline
    baijiaqing
    Member
    Join Date: Jul 2010
    Old 08-19-2012 , 07:50   Re: [TF2] MvM Dosh, money! - KF style
    Reply With Quote #2

    Sweet!
    Now all thats left to play a sound when it drops
    Would be nice if theres a drop animation instead of just appearing on the ground if thats possible.

    Last edited by baijiaqing; 08-19-2012 at 09:44.
    baijiaqing is offline
    Jim E. Rustler
    BANNED
    Join Date: Jul 2012
    Old 08-19-2012 , 09:23   Re: [TF2] MvM Dosh, money! - KF style
    Reply With Quote #3

    Quote:
    Originally Posted by baijiaqing View Post
    Sweet!
    Now all thats left to play a sound when it drops
    Exactly. I requested something similar to this. This is a step in the right direction!
    Jim E. Rustler is offline
    Colder
    New Member
    Join Date: Jan 2012
    Old 08-20-2012 , 09:12   Re: [TF2] MvM Dosh, money! - KF style
    Reply With Quote #4

    Will binding this to a key also work "+reload; wait; +attack2"? Just to drop cash with one button.

    It's works, just tested. Nice!

    bind "p" +dropcash
    alias +dropcash "+reload; wait; +attack2"
    alias -dropcash "-reload; wait; -attack2"

    Last edited by Colder; 08-20-2012 at 10:28.
    Colder is offline
    avgn360
    Junior Member
    Join Date: Aug 2012
    Old 08-20-2012 , 13:06   Re: [TF2] MvM Dosh, money! - KF style
    Reply With Quote #5

    Thanks for the awesome plug-in. anyway,

    I think I found a minor bug. when 'scout' drop and take cash himself,
    he gain extra over health somehow.other classes are just fine.

    Last edited by avgn360; 08-20-2012 at 13:06.
    avgn360 is offline
    Blacklight21
    New Member
    Join Date: Aug 2012
    Old 08-20-2012 , 14:59   Re: [TF2] MvM Dosh, money! - KF style
    Reply With Quote #6

    Quote:
    Originally Posted by avgn360 View Post
    Thanks for the awesome plug-in. anyway,

    I think I found a minor bug. when 'scout' drop and take cash himself,
    he gain extra over health somehow.other classes are just fine.

    It isn't a bug. In mann vs machine scout gets extra health for picking up cash.
    Blacklight21 is offline
    ffredyk
    New Member
    Join Date: Aug 2012
    Old 08-27-2012 , 12:12   Re: [TF2] MvM Dosh, money! - KF style
    Reply With Quote #7

    On my server i found some critical bugs..

    When someone is spamming money when running over it again, the money is multiplied, results in cheating more money the player had.

    Also, when somebody gets money from someone, and players lose round, the money they gained from other players is removed from their starting cash, sometimes results in negative starting cash.

    If you want, i can record a video, so you know how to reproduce these bugs

    Last edited by ffredyk; 08-27-2012 at 12:22.
    ffredyk is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 12-06-2012 , 09:30   Re: [TF2] MvM Dosh, money! - KF style
    Reply With Quote #8

    Got a problem:

    Code:
    L 12/05/2012 - 19:12:43: [SM] Plugin encountered error 15: Array index is out of bounds
    L 12/05/2012 - 19:12:43: [SM] Displaying call stack trace for plugin "TF2_sharecash.smx":
    L 12/05/2012 - 19:12:43: [SM]   [0]  Line 65, C:\Program Files (x86)\pstudio-0.8.3\drop_dat_cash.sp::OnClientPutInServer()
    Mr. Man is offline
    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 14:07.


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