Raised This Month: $ Target: $400
 0% 

Killstreak plugin - problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
subs
Junior Member
Join Date: Aug 2013
Old 08-12-2013 , 22:01   Re: Killstreak plugin - problem
Reply With Quote #1

Thank you for such fast response !

I guess it was mostly about this?
PHP Code:
g_Kills[killer]++ 
What about ?
PHP Code:
new g_Kills[33
I mean, what if someone, somehow gets more than that?

And thanks for kind words, trying to do my best


++
Found another problem, this time with HUD Message.
Since it didn't count killstreak at all I've changed it from:
PHP Code:
public showKillstreak(id

    
set_hudmessage(0952450.00.000.01.10.10.515)  
    
show_hudmessage(id"Killstreak: %i"g_Kills)  

to:
PHP Code:
public showKillstreak(id

    
set_hudmessage(0952450.00.000.01.10.10.515)  
    
show_hudmessage(id"Killstreak: %i"g_Kills[killer])  

Now it counts but whenever anyone builds its killstreak it shows up on my HUD Message.
(I kill = shows my kills, someone kills = show its kills)

Last edited by subs; 08-12-2013 at 22:28. Reason: Another problem
subs 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 16:00.


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