Raised This Month: $ Target: $400
 0% 

T Should not be able to takedmg/kill CT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MrKiller2010
Senior Member
Join Date: Aug 2012
Old 08-07-2013 , 09:23   T Should not be able to takedmg/kill CT
Reply With Quote #1

When there is a game playing Ts should now be able to kill or take damage of CT.
Only kill Ts..

And How can i make that it plays a sound when it displays the hud?
A small .wav sound.

PHP Code:
public DGL()
{
    
g_iCurrentGame GAME_DGL
    
    
new iPlayers[32]
    new 
iNum
    
new id
    
    set_cvar_num
("mp_friendlyfire",1)
    
    
get_playersiPlayersiNum"a" )
    
    for( new 
0iNumi++ )
    {
        
id iPlayers[i]
        
set_hudmessage 20400, -1.00.3500.15.00.10.1, -
        
show_hudmessage 0"[DGL]: DodgeBall Game Started!")
        
        
strip_user_weaponsid )
        
        if (
cs_get_user_team(id) == CS_TEAM_CT)
        {
            
give_item(id"weapon_knife")
            
give_item(id"weapon_m4a1"
            
give_item(id"weapon_deagle")
            
cs_set_user_bpammoidCSW_M4A190 )
            
cs_set_user_bpammoidCSW_DEAGLE35 )
            
fm_reset_user_model(id)
        }
        
        
        else if (
cs_get_user_team(id) == CS_TEAM_T)
        {
            
give_item(id"weapon_hegrenade")
            
cs_set_user_bpammoidCSW_HEGRENADE200 )
        }
    }


Last edited by MrKiller2010; 08-07-2013 at 09:23.
MrKiller2010 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 15:59.


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