Raised This Month: $ Target: $400
 0% 

Help me with something...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Splintter
New Member
Join Date: Jul 2007
Location: Porto Alegre, Brazil
Old 09-16-2007 , 12:21   Help me with something...
Reply With Quote #1

Hello, please explain me this part of miscstats code:

Code:
g_streakKills[victim][1]++
  g_streakKills[victim][0] = 0
  if (!selfkill)
  {
   g_streakKills[killer][0]++
   g_streakKills[killer][1] = 0
   
   new a = g_streakKills[killer][0] - 3
   if ((a > -1) && !(a % 2))
   {
    new name[32]
    get_user_name(killer, name, 31)
    
    if ((a >>= 1) > 6)
     a = 6

g_streakKills[id][0] is Kill count Correct?
g_streakKills[id][1] is Death count?

if yes, this i understand, but i dont understand this:
if ((a > -1) && !(a % 2))

and
if ((a >>= 1) > 6)

Thanks!
Splintter is offline
Reply


Thread Tools
Display Modes

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:06.


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