Raised This Month: $32 Target: $400
 8% 

[CS:GO] Kill Rewards (v1.0.0, 2016-11-07)


Post New Thread Reply   
 
Thread Tools Display Modes
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 06-22-2020 , 07:13   Re: [CS:GO] Kill Rewards (v1.0.0, 2016-11-07)
Reply With Quote #11

Quote:
Originally Posted by OneMore View Post
You can compare the conditions string. It was wrong written in the previous version.
This one is correct
if ((knifed && (g_iCvar_KW_hp_knife > 0)) || (!knifed && (g_iCvar_KW_hp_kill > 0)) || (headshot && (g_iCvar_KW_hp_hs > 0)) || (nades && (g_iCvar_KW_hp_nade > 0)))
This one from the original is incorrect
if ((knifed && (g_iCvar_KW_hp_kill > 0)) || (!knifed && (g_iCvar_KW_hp_kill > 0)) || (headshot && (g_iCvar_KW_hp_hs > 0)) || (!headshot && (g_iCvar_KW_hp_kill > 0)))

So I changed conditions to work correctly.
works like a charm, sm 1.11, thank you.
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
hengen
Junior Member
Join Date: Nov 2015
Location: Turkey
Old 01-18-2021 , 19:18   Re: [CS:GO] Kill Rewards (v1.0.0, 2016-11-07)
Reply With Quote #12

I fixed all the bugs. (Maybe it still exists )
I use it on my own server and I wanted to share it with you.
Since I fixed the bugs, I wrote to the subject owner, he saw but did not reply.
So I preferred to share it as a comment instead of opening a new topic
Attached Files
File Type: zip killrewards.zip (26.2 KB, 81 views)

Last edited by hengen; 01-18-2021 at 19:19.
hengen is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 01-19-2021 , 14:14   Re: [CS:GO] Kill Rewards (v1.0.0, 2016-11-07)
Reply With Quote #13

You could always just make a pull request on GitHub.
Maxximou5 is offline
returno
New Member
Join Date: Nov 2022
Old 11-14-2022 , 04:13   Re: [CS:GO] Kill Rewards (v1.0.0, 2016-11-07)
Reply With Quote #14

Is it possible to use this plugin also on multi-1v1 ? I need the player to have +5 hp (105HP) on the next round when he kills someone. Thank you
returno 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:19.


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