Raised This Month: $ Target: $400
 0% 

[Request] Santa Hat Plugin.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GBLTeam
Senior Member
Join Date: Mar 2012
Location: Republic of Macedonia
Old 12-22-2013 , 12:24   [Request] Santa Hat Plugin.
Reply With Quote #1

I need plugin like this
https://forums.alliedmods.net/showthread.php?t=81172

But i want different hats between CT and TT.
I have models some models santahat and jackinbox.

Really i need an plugin which contains different hats between CT and TT.
Like TT to get the Joker hat and CT to get an Santahat.

Last edited by GBLTeam; 12-22-2013 at 12:25.
GBLTeam is offline
Send a message via MSN to GBLTeam Send a message via Skype™ to GBLTeam
Silks
Junior Member
Join Date: Dec 2013
Location: Estonia
Old 12-22-2013 , 13:12   Re: [Request] Santa Hat Plugin.
Reply With Quote #2

Id love to have same plugin too, so someone please make one?
Silks is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 12-22-2013 , 14:30   Re: [Request] Santa Hat Plugin.
Reply With Quote #3

PHP Code:
#include < amxmodx >
#include < engine >
#include < cstrike >
#include < hamsandwich >

new const g_szHatModelCsTeams ][ ] = {
    
"",
    
"models/santahat.mdl",
    
"models/santahat_blue.mdl",
    
""
};

new 
g_iHats33 ];

public 
plugin_init( ) {
    
register_plugin"Santa Hat + Snow""1.3""xPaw" );
    
    
register_cvar"santa_hat""1.3"FCVAR_SERVER );
    
    
register_event"TeamInfo""EventTeamInfo""a" );
    
    
RegisterHamHam_Spawn"player""FwdHamPlayerSpawn");
}

public 
plugin_precache( ) {
//  create_entity( "env_snow" );
    
    
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 ] );

SantaHatModels.zip

Last edited by Fuck For Fun; 12-22-2013 at 14:31.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Ex1ne
Senior Member
Join Date: Oct 2011
Location: Norway
Old 12-23-2013 , 12:49   Re: [Request] Santa Hat Plugin.
Reply With Quote #4

-lol-
__________________

Last edited by Ex1ne; 12-23-2013 at 12:50. Reason: I should probably read the whole post before replying.
Ex1ne is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 12-23-2013 , 14:06   Re: [Request] Santa Hat Plugin.
Reply With Quote #5

Quote:
Originally Posted by ANTICHRISTUS View Post
there is a hats plugin, better to ask there. or if you have some GoldSrc player models wearing some nice hats, I can extract them for you.

also check the winter environement plugin, by Alka.
__________________
ANTICHRISTUS is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 12-23-2013 , 15:20   Re: [Request] Santa Hat Plugin.
Reply With Quote #6

Make a chickens head from the cs_italy map
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS 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 20:30.


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