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

[HELP] Player model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
INJAC
Member
Join Date: Sep 2011
Old 10-31-2011 , 19:00   [HELP] Player model
Reply With Quote #1

can someone tell me what to change here in this part of the plugin

PHP Code:
public plugin_precache()  

    
precache_model("models/player/vip/vip.mdl"
    
precache_model("models/player/vip/vip.mdl"

    return 
PLUGIN_CONTINUE 


public 
resetModel(idlevelcid)  

    if (
get_user_flags(id) & ADMIN_LEVEL_E)  
    { 
        new 
CsTeams:userTeam cs_get_user_team(id
        if (
userTeam == CS_TEAM_T)   
        { 
            
cs_set_user_model(id"vip"
        } 
        else if(
userTeam == CS_TEAM_CT
        { 
            
cs_set_user_model(id"vip"
        } 
        else  
        { 
            
cs_reset_user_model(id
        } 
    } 
    return 
PLUGIN_CONTINUE 

because when i add my model which is http://www.gamebanana.com/skins/101584
i doesnt load it i have the same old model, i want
to insert this in my plugin so dont send me any players model
plugins or stuff like that, i no one knows how to do that then
just make mi a plugin that uses this model for CT or T.
And can someone test it because when it wont work i dont know how to explain it.

Thanks in Advance

Last edited by INJAC; 10-31-2011 at 19:04.
INJAC 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 21:58.


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