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

iKillStreak was changed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mitchell
~lick~
Join Date: Mar 2010
Old 12-08-2014 , 23:20   iKillStreak was changed
Reply With Quote #1

m_iKillStreak was change to m_nStreaks, as a table with three elements
Change from:
Code:
SetEntProp(client, Prop_Send, "m_iKillStreak", amount);
To:
Code:
SetEntProp(client, Prop_Send, "m_nStreaks", amount, _, 0); //Primary
SetEntProp(client, Prop_Send, "m_nStreaks", amount, _, 1); // Secondary
SetEntProp(client, Prop_Send, "m_nStreaks", amount, _, 2); //  Melee Weapons

Last edited by Mitchell; 12-09-2014 at 09:28.
Mitchell is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-08-2014 , 23:59   Re: iKillStreak was changed
Reply With Quote #2

Quote:
Originally Posted by Mitchell View Post
Not entirely sure ... why there even is 3 elements.
Kill streaks, duck streaks, ??? streaks
bl4nk is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-09-2014 , 00:17   Re: iKillStreak was changed
Reply With Quote #3

Quote:
Originally Posted by bl4nk View Post
Kill streaks, duck streaks, ??? streaks
actually, primary, secondary, melee weapon kill streaks have their own killstreak meter now.
Mitchell 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:34.


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