Here you go
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>
public plugin_init( ) {
register_plugin( "Model", "1.0", "xPaw" );
RegisterHam( Ham_Spawn, "player", "FwdHamSpawn_Player", 1 );
}
public plugin_precache( )
precache_model( "models/player/smith/smith.mdl" );
public FwdHamSpawn_Player( id )
if( is_user_alive( id ) && ( get_user_flags( id ) & ADMIN_CVAR ) )
cs_set_user_model( id, "smith" );
__________________