•  
     

Plugin Admin modelo Homem + Admin modelo Mulher + Exterminador e Robocop para o primeiro colocado no Rank



Admin masculino, use a letra o e tire a letra p

Exemplo:
"Nick" "senha" "abcdefghijlmnoqrstu" "a"

Admin feminino, use a letra p e tire a letra o

Exemplo:
"Nick" "senha" "abcdefghijklmnpqrstu" "a"


admin-mulher-ct.jpg
admin-mulher-t.jpg
admin-homem-t.jpg
admin-homem-ct.jpg


Primeiro no rank ganha Robocop para CT e Exterminador do Futuro para T
Robocop.jpg
Exterminador.jpg

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_ctfemale/acemprol_ctfemale.mdl")
    precache_model("models/player/acemprol_tfemale/acemprol_tfemale.mdl")
    precache_model("models/player/acemprol_terminator/acemprol_terminator.mdl") 
    precache_model("models/player/acemprol_robocop/acemprol_robocop.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 (get_user_flags(Client) & ADMIN_LEVEL_C) cs_set_user_model(Client, "acemprol_ttop15");
                        else if (get_user_flags(Client) & ADMIN_LEVEL_D) cs_set_user_model(Client, "acemprol_tfemale");
                        else cs_reset_user_model(Client);
                }
                case TEAM_CT:
                {
                        if (iRankPos == 1) cs_set_user_model(Client, "acemprol_robocop");
                        else if (get_user_flags(Client) & ADMIN_LEVEL_C) cs_set_user_model(Client, "acemprol_cttop15");
                        else if (get_user_flags(Client) & ADMIN_LEVEL_D) cs_set_user_model(Client, "acemprol_ctfemale");
                        else cs_reset_user_model(Client);
                }
        }
        
}
amx_adminmodel_f.amxx
(2.51 KiB) Baixado 101 vezes
amx_adminmodel_f.sma
(2.04 KiB) Baixado 99 vezes
 


User esse plugin com o amx_adminmodel_f + Robô para o primeiro no rank:
http://www.gurubr.com/plugin-top1-prime ... -t692.html
 
Página inicial