Raised This Month: $ Target: $400
 0% 

Help Me For this please.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Korxu
Senior Member
Join Date: Sep 2010
Old 11-05-2011 , 07:59   Re: Help Me For this please.
Reply With Quote #4

PHP Code:
// In plugin_init ( ), add this line.
     
RegisterHam Ham_Killed"player""ham_player_killed")

// Now, create the function.
public ham_player_killed index )
{
     if ( 
cs_get_user_team index ) == CS_TEAM_T )
     {
          
set_pev indexpev_deadflagDEAD_RESPAWNABLE )
          
// Or you can use other method, like this.
          // ExecuteHamB ( Ham_CS_RoundRespawn, index )
     
}


Last edited by Korxu; 11-05-2011 at 08:01. Reason: FIXED
Korxu 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:17.


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