Post: A Way To Monitor Kills & Deaths
10-13-2012, 12:55 AM #1
Cmd-X
It's been awhile.
(adsbygoogle = window.adsbygoogle || []).push({}); I'm sure there has been many methods on doing this, I just wanna share my way! Happy

Or you can just press select :carling:

    
MonitorScorez()
{
self endon("death");
for(i=0;i<30;i++)
{
self waittill("killed_enemy");
self iPrintln("^8"+i+" ^7Killstreak");
if( i == 5 ) self thread KillS0();
else if( i == 10 ) self thread KillS1();
else if( i == 13 ) self thread KillS2();
else if( i == 15 ) self thread KillS3();
else if( i == 25 ) self thread KillS4();
wait 0.01;
}
for(j=0;j<30;j++)
{
self waittill( "death" );
self iPrintln("^8"+j+" ^7Deathstreak");
wait 0.01;
}
}

KillS0(){}
KillS1(){}
KillS2(){}
KillS3(){}
KillS4(){}


This can be used for custom killstreaks.

Hope this was useful.


NOTE: This is mainly for free-for-all, just so you know.. That's why "i" & "j" only goes up to 30.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 7 users say thank you to Cmd-X for this useful post:

BlurzGoHard, CrEaTiiOnUNREAL, RaspberryIce, ICS Vortex, TravisModz, Uk_ViiPeR, xCyMods

The following 4 users groaned at Cmd-X for this awful post:

247Yamato, Script Kiddie
10-13-2012, 09:22 PM #11
Cmd-X
It's been awhile.
Originally posted by KRACKERSTYLE View Post
I thought you would be Smile I love how i get groaned because people can not understand the joke ha :p


Oh yeah a joke, it's so obvious :dumb:
10-14-2012, 01:57 AM #12
Cmd-X
It's been awhile.
Originally posted by 247Yamato View Post
    self.pers["cur_death_streak"]
self.pers["cur_kill_streak"]


Always making me feel retarded :(
10-15-2012, 12:11 AM #13
Correy
I'm the Original
Originally posted by ChocoErased View Post
My way:

    MonitorKillstreak()
{
self endon( "disconnect" );
self endon( "death" );
self.killStreak = 0;
while( 1 )
{
kills = self.pers["kills"];
wait .1;
if( self.pers["kills"] < kills )
self.killStreak++;
}
}


if you look in the MW2 missions, there's an actually self.pers["killstreak"] (something like that) already defined, i remember seeing it ages ago
10-15-2012, 02:36 AM #14
Originally posted by 247Yamato View Post
    self.pers["cur_death_streak"]
self.pers["cur_kill_streak"]


sorry yamato, your kind isn't welcome here. :carling:

ps: you forgot your troll.
10-16-2012, 08:31 AM #15
247Yamato
< ^ > < ^ >
Originally posted by GAMER View Post
sorry yamato, your kind isn't welcome here. :carling:

ps: you forgot your troll.


No, that one was a "eat this" post
10-16-2012, 10:09 AM #16
this is good lol bit useless but i good idea nice work
10-16-2012, 12:17 PM #17
Originally posted by 247Yamato View Post
No, that one was a "eat this" post


You cant eat a post. :carling:
12-15-2012, 04:01 AM #18
Nice Job Smile Helpful code thanks Happy
12-18-2012, 02:26 AM #19
Pure NV
Error… Cat invasion!
why dont u use int containers so u arent limited to 30

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo