AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   iKillStreak was changed (https://forums.alliedmods.net/showthread.php?t=252757)

Mitchell 12-08-2014 23:20

iKillStreak was changed
 
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


bl4nk 12-08-2014 23:59

Re: iKillStreak was changed
 
Quote:

Originally Posted by Mitchell (Post 2232768)
Not entirely sure ... why there even is 3 elements.

Kill streaks, duck streaks, ??? streaks

Mitchell 12-09-2014 00:17

Re: iKillStreak was changed
 
Quote:

Originally Posted by bl4nk (Post 2232776)
Kill streaks, duck streaks, ??? streaks

actually, primary, secondary, melee weapon kill streaks have their own killstreak meter now.


All times are GMT -4. The time now is 11:50.

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