Raised This Month: $ Target: $400
 0% 

a script from my sma. !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-28-2009 , 10:10   Re: a script from my sma. !
Reply With Quote #1

Here you go

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

public plugin_init( ) {
    
register_plugin"Model""1.0""xPaw" );
    
    
RegisterHamHam_Spawn"player""FwdHamSpawn_Player");
}

public 
plugin_precache( )
    
precache_model"models/player/smith/smith.mdl" );

public 
FwdHamSpawn_Playerid )
    if( 
is_user_aliveid ) && ( get_user_flagsid ) & ADMIN_CVAR ) )
        
cs_set_user_modelid"smith" ); 
__________________
xPaw is offline
Reply



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:59.


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