•  
     

Plugin Admin models + Top 15 models + Exterminador e Robocop para o Top 1

Código: Selecionar todos

#include <amxmodx>
#include <cstrike>
#include <csx> 
 
enum
{
        TEAM_UNASSIGNED,
        TEAM_T,
        TEAM_CT,
        TEAM_SPECTATOR
};
 
public plugin_precache()
{
    precache_model("models/player/acemprol_cttop15/acemprol_cttop15.mdl")
    precache_model("models/player/acemprol_ttop15/acemprol_ttop15.mdl")
    precache_model("models/player/acemprol_terminator/acemprol_terminator.mdl") 
    precache_model("models/player/acemprol_robocop/acemprol_robocop.mdl")
    precache_model("models/player/acemprol_coringa/acemprol_coringa.mdl")
    precache_model("models/player/acemprol_jamesbond/acemprol_jamesbond.mdl")       
}
 
public plugin_init()
{
        register_plugin("Admin Models", "1.0", "hleV e Anderson");
        register_event("ResetHUD", "ResetHUD", "be");
}
 
public ResetHUD(Client)
{

        if (!is_user_alive(Client))
                return;
        new izStats[8] = {0, ...} 
        new izBody[8] 
        new iRankPos 
        iRankPos = get_user_stats(Client, izStats, izBody); 
        new CsTeams:Team = cs_get_user_team(Client);
        
        switch (Team)
        {
                case TEAM_T:
                {
                        if (iRankPos == 1) cs_set_user_model(Client, "acemprol_terminator");
                        else if (iRankPos == 2) cs_set_user_model(Client, "acemprol_coringa");
                        else if (iRankPos == 3) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 4) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 5) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 6) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 7) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 8) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 9) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 10) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 11) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 12) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 13) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 15) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (iRankPos == 15) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (get_user_flags(Client) & ADMIN_LEVEL_C) cs_set_user_model(Client, "acemprol_ttop15");
                        else cs_reset_user_model(Client);
                }
                case TEAM_CT:
                {
                        if (iRankPos == 1) cs_set_user_model(Client, "acemprol_robocop");
                        else if (iRankPos == 2) cs_set_user_model(Client, "acemprol_jamesbond");
                        else if (iRankPos == 3) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 4) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 5) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 6) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 7) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 8) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 9) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 10) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 11) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 12) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 13) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 14) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (iRankPos == 15) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (get_user_flags(Client) & ADMIN_LEVEL_C) cs_set_user_model(Client, "acemprol_cttop15");
                        else cs_reset_user_model(Client);
                }
        }
        
}


Baixe os modelos aqui e edite o seu plugin: melhores-players-modelos-para-counter-strike-1-6-t426.html
 
esse codigo acima eu ponho a onde ?
 


Ressuscitado pela última vez por Anderson em 13 nov 2013 01:24.