Raised This Month: $ Target: $400
 0% 

Problem with Ham_playerkilled_post


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 04-19-2012 , 10:56   Re: Problem with Ham_playerkilled_post
Reply With Quote #5

PHP Code:
public Ham_PlayerSpawn_Postid )
        {
        if( !
is_user_aliveid ) )
            return 
HAM_IGNORED;
        
        
strip_user_weaponsid );
        
give_itemid"weapon_knife" );
        
        new 
CsTeams:iTeam cs_get_user_teamid );
        
        if( 
g_bNCNextRoundid ] )
        {
            if( 
iTeam != CS_TEAM_T )
                {
            
cs_set_user_teamidCS_TEAM_T );
            
ExecuteHamBHam_CS_RoundRespawnid );
            
g_bNCNextRoundid ] = false;
            return 
HAM_IGNORED;
                }
            
            
g_bNCNextRoundid ] = false;
        } 
-->
PHP Code:
public Ham_PlayerSpawn_Postid )
        {
        if( !
is_user_aliveid ) )
            return 
HAM_IGNORED;
        
        
strip_user_weaponsid );
        
give_itemid"weapon_knife" );
        
        new 
CsTeams:iTeam cs_get_user_teamid );
        
        if( 
g_bNCNextRoundid ] )
        {
            if( 
iTeam != CS_TEAM_T )
                {
            
cs_set_user_teamidCS_TEAM_T );
            
ExecuteHamBHam_CS_RoundRespawnid );
            
g_bNCNextRoundid ] = false;
            return 
HAM_IGNORED;
                }
            
            
g_bNCNextRoundid ] = false;
        }

</b>
__________________

Last edited by Napoleon_be; 04-19-2012 at 10:56.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
 



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 07:46.


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