AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [HELP] Player model (https://forums.alliedmods.net/showthread.php?t=171042)

INJAC 10-31-2011 19:00

[HELP] Player model
 
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


All times are GMT -4. The time now is 17:44.

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