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

skins help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
talents
Member
Join Date: Feb 2011
Location: Romania
Old 02-26-2011 , 01:36   skins help
Reply With Quote #1

Hello

I have a problem with a plugin. I want to put a skin for CT and one for T.(my server is a jb). But when is VIP ct he has a VIP t skin. What can I do?

Help me!

PS: How can i put a special skin for simon?
Attached Files
File Type: sma Get Plugin or Get Source (vip_model.sma - 468 views - 957 Bytes)
__________________


talents is offline
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 02-26-2011 , 15:47   Re: skins help
Reply With Quote #2

Try using this vv

Quote:
Originally Posted by xPaw View Post
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>

public plugin_init() {
    
register_plugin"CT - VIP""1.0""xPaw" );
    
    
RegisterHamHam_Spawn"player""fwHamPlayerSpawnPost");
}

public 
plugin_precache() {
    
precache_model("models/player/vip/vip.mdl");
    
precache_model("models/player/leet/leet.mdl");
}

public 
fwHamPlayerSpawnPostid ) {
    if( 
is_user_aliveid ) ) {
        if( 
get_user_teamid ) == )
            
cs_set_user_modelid"vip" );
        else if( 
get_user_teamid ) == )
            
cs_set_user_modelid"leet" );
    }

__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
Old 02-26-2011, 15:48
infek
This message has been deleted by infek.
talents
Member
Join Date: Feb 2011
Location: Romania
Old 02-27-2011 , 04:56   Re: skins help
Reply With Quote #3

It's the same problem.
When it's someone cs he has tero skin
I want to put the skins for admin_level_h
__________________


talents 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 11:11.


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