Raised This Month: $ Target: $400
 0% 

Help with one script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
quilhos
Veteran Member
Join Date: Jun 2010
Old 09-22-2012 , 11:43   Re: Help with one script
Reply With Quote #6

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

new bool:g_bAdmin33 ];

public 
plugin_init( ) {
    
register_plugin"Admin Model""1.2""whitemike" );
    
    
RegisterHamHam_Spawn"player""FwdHamPlayerSpawn");
}

public 
plugin_precache( ) {
    
precache_model"models/player/vip_ct/vip_ct.mdl" );
    
precache_model"models/player/vip_te/vip_te.mdl" );
}

public 
client_authorizedid )
    
g_bAdminid ] = bool:( get_user_flagsid ) & ADMIN_LEVEL_H );

public 
client_disconnectid )
    
g_bAdminid ] = false;

public 
FwdHamPlayerSpawn( const id ) {
    if( 
g_bAdminid ] && is_user_aliveid ) ) {
        switch( 
cs_get_user_teamid ) ) {
            case 
CS_TEAM_Tcs_set_user_modelid"vip_te" );
            case 
CS_TEAM_CTcs_set_user_modelid"vip_ct" );
        }
    }

use that version of the plugin.
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos 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 08:13.


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