Raised This Month: $ Target: $400
 0% 

Any idea why this code doesn't work?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DeLiriuM
Senior Member
Join Date: Dec 2006
Old 01-22-2013 , 11:59   Any idea why this code doesn't work?
Reply With Quote #1

PHP Code:
public fw_player_killed(victimattackershouldgibid)
{
    if(
get_user_team(attacker) == 1)
    {
        
g_jbpacks[attacker] += get_pcvar_num(g_killjp
        
        if(
get_pdata_int(victim75) == HIT_HEAD)
        {
            
g_jbpacks[attacker] += get_pcvar_num(g_killhsjp)
        }
    }
    
    else if (
get_user_team(attacker) == && !(get_user_flags(id) & ADMIN_LEVEL_H))
    {
        
g_jbpacks[attacker] += get_pcvar_num(g_killjpvip
        
        if(
get_pdata_int(victim75) == HIT_HEAD)
        {
            
g_jbpacks[attacker] += get_pcvar_num(g_killhsjp)
        }
    }

__________________
DeLiriuM is offline
 


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 20:39.


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