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

[CS:S] Drop Money On Death


Post New Thread Reply   
 
Thread Tools Display Modes
B2SX
Member
Join Date: Dec 2015
Location: Israel
Old 10-05-2017 , 06:48   Re: [CS:S] Drop Money On Death
Reply With Quote #81

does it work on csgo?
__________________
◆ Developer - C++,C#,Python,VB.NET,Java,SQF,AS 3.0,AS 2.0,SP,Pawn,LUA
Steam Link
B2SX is offline
dnextreme88
Junior Member
Join Date: Jan 2021
Old 11-07-2023 , 03:20   Re: [CS:S] Drop Money On Death
Reply With Quote #82

So I found out two bugs with the current version:
  • Players who picked up cash on a dead player with $0 would still get money.
  • If the dead player's cash is less than the amount set, the player who picked it up would still get the amount set in the cfg, instead of the "partial" amount the dead player has (eg. if cfg has set it to $1200, which is what I set in my server, but the dead player only has $1000, the player who picked up the cash would get $1200 instead of $1000)

Thanks to helpful comments in the plugin, I was able to study it a bit and addressed these issues (hopefully)

*NOTE*: You may need to get colors.inc or morecolors.inc for the colors and place them under /sourcemod/scripting/include, as I've changed the colors in the chat.
Attached Files
File Type: sp Get Plugin or Get Source (drop_money_on_death.sp - 11 views - 25.2 KB)
File Type: txt DropMoneyOnDeath.phrases.txt (1.1 KB, 13 views)
File Type: smx drop_money_on_death.smx (16.4 KB, 11 views)

Last edited by dnextreme88; 11-07-2023 at 03:23.
dnextreme88 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 10:03.


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