Raised This Month: $12 Target: $400
 3% 

Helmet


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XPERA
Member
Join Date: Nov 2022
Old 05-20-2023 , 10:17   Helmet
Reply With Quote #1

terrorist team red helmet ct team green helmet attachment as in the picture
is there an addon
Attached Thumbnails
Click image for larger version

Name:	image-1.jpg
Views:	59
Size:	27.1 KB
ID:	200645  

Last edited by XPERA; 05-20-2023 at 10:18.
XPERA is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 05-20-2023 , 11:49   Re: Helmet
Reply With Quote #2

If you have the models, should be easy to do so
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Old 05-20-2023, 12:46
XPERA
This message has been deleted by XPERA. Reason: yanlış
XPERA
Member
Join Date: Nov 2022
Old 05-20-2023 , 12:52   Re: Helmet
Reply With Quote #3

Something like that
Attached Files
File Type: zip barret.zip (19.8 KB, 32 views)
XPERA is offline
XPERA
Member
Join Date: Nov 2022
Old 05-21-2023 , 12:32   Re: Helmet
Reply With Quote #4

Quote:
Originally Posted by DruGzOG View Post
If you have the models, should be easy to do so
Could you
XPERA is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 05-26-2023 , 07:18   Re: Helmet
Reply With Quote #5

Quote:
Originally Posted by XPERA View Post
Could you
PHP Code:
#include < amxmodx >
#include < engine >
#include < cstrike >
#include < hamsandwich >

new const g_szHatModelCsTeams ][ ] = {
    
"",
    
"models/barret/t.mdl",
    
"models/barret/ct.mdl",
    
""
};

new 
g_iHats33 ];

public 
plugin_init( ) {
   
    
register_event"TeamInfo""EventTeamInfo""a" );
    
    
RegisterHamHam_Spawn"player""FwdHamPlayerSpawn");
}

public 
plugin_precache( ) {
  
    
precache_modelg_szHatModelCS_TEAM_T ] );
    
precache_modelg_szHatModelCS_TEAM_CT ] );
}

public 
client_disconnectid )
    if( 
is_valid_entg_iHatsid ] ) )
        
remove_entityg_iHatsid ] );

public 
FwdHamPlayerSpawn( const id ) {
    if( 
is_user_aliveid ) ) {
        new 
iEntity g_iHatsid ];
        
        if( !
is_valid_entiEntity ) ) {
            if( !( 
iEntity g_iHatsid ] = create_entity"info_target" ) ) )
                return;
            
            new 
CsTeams:iTeam cs_get_user_teamid );
            
            if( 
iTeam != CS_TEAM_T && iTeam != CS_TEAM_CT )
                
iTeam CS_TEAM_T;
            
            
entity_set_modeliEntityg_szHatModeliTeam ] );
            
entity_set_intiEntityEV_INT_movetypeMOVETYPE_FOLLOW );
            
entity_set_edictiEntityEV_ENT_aimentid );
        }
    }
}

public 
EventTeamInfo( ) {
    new 
id read_data), iEntity g_iHatsid ];
    
    if( !
is_valid_entiEntity ) ) {
        if( 
iEntity )
            
g_iHatsid ] = 0;
        
        return;
    }
    
    new 
szTeam];
    
read_data2szTeam);
    
    if( 
szTeam] == 'C' )
        
entity_set_modeliEntityg_szHatModelCS_TEAM_CT ] );
    else
        
entity_set_modeliEntityg_szHatModelCS_TEAM_T ] );

Based of xPaw's Santa hat
__________________

Last edited by DruGzOG; 05-26-2023 at 07:19.
DruGzOG is offline
Send a message via AIM to DruGzOG
XPERA
Member
Join Date: Nov 2022
Old 05-26-2023 , 10:59   Re: Helmet
Reply With Quote #6

Thanks

DruGzOG
XPERA is offline
Reply


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


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