Raised This Month: $ Target: $400
 0% 

Double multi kill


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-27-2006 , 17:31   Re: Double multi kill
Reply With Quote #4

Make an array that contains every player's kill streak. When they get a kill (hook DeathMsg), add to it, and check if it's now 3. When they die (DeathMsg again), reset it to 0. To get you started:

Code:
#include <amxmodx> new killStreak[33]; public plugin_init() {    register_event("DeathMsg","event_deathmsg","a"); } public event_deathmsg() {    new killer = read_data(1);    new victim = read_data(2);    // calculations here }
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
 



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 04:49.


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