Raised This Month: $ Target: $400
 0% 

First blood question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
johnally
Member
Join Date: May 2011
Location: Mauritius
Old 06-18-2011 , 14:42   Re: First blood question
Reply With Quote #6

I guess you need to add some variable that resets on every new round. The very 'First Blood' in that round will have the variable change to 1(for example). And the next first blood would not be counted thereafter.

PHP Code:
new firstblood 0

public firstblood(parameters) {
     if (
firstblooddone != 1) {
              
firstblooddone 1;
             
// Do the firstblood sound etc etc
    
}

Only reset firstblooddone back to 0 on every round change then!
__________________
No allowed!

johnally 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 23:25.


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