Raised This Month: $ Target: $400
 0% 

First blood question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dreamedward
Senior Member
Join Date: Aug 2010
Location: ZombieWorld
Old 06-19-2011 , 04:28   Re: First blood question
Reply With Quote #8

Quote:
Originally Posted by johnally View Post
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!
I will try.
Quote:
Originally Posted by Exolent[jNr] View Post
Are you using the normal or the beta version of the plugin you linked?
The normal one.
dreamedward 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