Raised This Month: $ Target: $400
 0% 

[SNIPPET] TF2 deathflags


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
r5053
SourceMod Donor
Join Date: May 2007
Location: Germany
Old 06-06-2009 , 12:34   [SNIPPET] TF2 deathflags
Reply With Quote #1

PHP Code:
new deathflags GetEventInt(event"death_flags")
    new 
bool:nofakekill true
    
new bool:df_firstblood false
    
new bool:df_assisterrevenge false
    
new bool:df_killerrevenge false
    
new bool:df_assisterdomination false
    
new bool:df_killerdomination false
    
    
if (deathflags >= 32)
    {
    
deathflags deathflags 32
    nofakekill 
false    
    
}
    if (
deathflags >= 16)
    {
    
deathflags deathflags 16
    df_firstblood 
true    
    
}
    if (
deathflags >= 8)
    {
    
deathflags deathflags 8
    df_assisterrevenge 
true    
    
}
    if (
deathflags >= 4)
    {
    
deathflags deathflags 4
    df_killerrevenge 
true    
    
}
    if (
deathflags >= 2)
    {
    
deathflags deathflags 2
    df_assisterdomination 
true    
    
}
    if (
deathflags == 1)
    {
    
df_killerdomination true    
    

__________________
Visit HLPortal.de (this is not my Page)


r5053 is offline
Send a message via ICQ to r5053 Send a message via Skype™ to r5053
 



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 18:13.


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