Raised This Month: $ Target: $400
 0% 

Ham_Killed help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Fr33m@n
Veteran Member
Join Date: May 2008
Location: France Marne
Old 08-30-2009 , 10:08   Re: Ham_Killed help
Reply With Quote #3

PHP Code:
new gIsAttacker[33]
 
...
 
gIsAttacker[attacker] = true
static players[32], playerCountplayeri
get_players
(playersplayerCount"h")
for ( 
0playerCounti++ ) {
     new 
namea[32]
     
get_user_nameattackernameacharsmax(namea) )
     
player players[i]
     if (!
gIsAttacker[player]) {
           
client_print(playerprint_chat"%s killed a Monster (%d Frags)"attackerfrags)
     }
}
gIsAttacker[attacker] = false 
something like that ?

Last edited by Fr33m@n; 08-30-2009 at 10:11.
Fr33m@n 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 14:58.


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