•  
     

Plugin amx_adminmodel para Server Girls - Com modelos para homens e mulheres

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"




Código: Selecionar todos


#include <amxmodx>
#include <cstrike>
 
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")
}
 
public plugin_init()
{
        register_plugin("Admin Models", "1.0", "hleV");
        register_event("ResetHUD", "ResetHUD", "be");
}
 
public ResetHUD(Client)
{
        if (!is_user_alive(Client))
                return;
 
        new CsTeams:Team = cs_get_user_team(Client);
 
        switch (Team)
        {
                case TEAM_T:
                {
                        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 (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);
                }
        }
        
}


admin-mulher-ct.jpg

admin-mulher-t.jpg

admin-homem-t.jpg

admin-homem-ct.jpg



amx_adminmodel_f.amxx+sma+models.rar
(5.05 MiB) Transferido 689 vezes
 
 
anderson cria 1 topico com todos os models tipo

istala esses mod ne uma cstrike e posta pra galera baixa :)
 
vai ter que usar esse comando no arquivo server.cfg

Código: Selecionar todos

sv_downloadurl "http://www.seusite.com/cstrike/"



e uma hospedagem para o download dos modelos
 
Caso eu queria por skins exclusivas para Admins que tenham todas as flags e só alterar a linha:

Código: Selecionar todos

ADMIN_LEVEL


E colocar assim?

Código: Selecionar todos

ADMIN_LEVEL_M_N_O_P_Q_R_S_T


E isso?
 
Tentei compilar e não foi.

Se eu botar apenas:

Código: Selecionar todos

ADMIN_LEVEL_A


As skins ficarão apenas pra quem tenha flag A?

a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
 
ADMIN_LEVEL_C = o
ADMIN_LEVEL_D = p
 
E se eu deixar ADMIN_LEVEL_A ficará só para quem todos os comandos?
 

Código: Selecionar todos

Admin Level Constants: 
#define ADMIN_ALL		0	//Everyone
#define ADMIN_IMMUNITY		1	//Flag "a", immunity
#define ADMIN_RESERVATION	2	//Flag "b", reservation
#define ADMIN_KICK		4	//Flag "c", kick
#define ADMIN_BAN		8	//Flag "d", ban
#define ADMIN_SLAY		16	//Flag "e", slay
#define ADMIN_MAP		32	//Flag "f", map change
#define ADMIN_CVAR		64	//Flag "g", cvar change
#define ADMIN_CFG		128	//Flag "h", config execution
#define ADMIN_CHAT		256	//Flag "i", chat
#define ADMIN_VOTE		512	//Flag "j", vote
#define ADMIN_PASSWORD		1024	//Flag "k", sv_password
#define ADMIN_RCON		2048	//Flag "l", rcon access
#define ADMIN_LEVEL_A		4096	//Flag "m", custom
#define ADMIN_LEVEL_B		8192	//Flag "n", custom
#define ADMIN_LEVEL_C		16384	//Flag "o", custom
#define ADMIN_LEVEL_D		32768	//Flag "p", custom
#define ADMIN_LEVEL_E		65536	//Flag "q", custom
#define ADMIN_LEVEL_F		131072	//Flag "r", custom
#define ADMIN_LEVEL_G		262144	//Flag "s", custom
#define ADMIN_LEVEL_H		524288	//Flag "t", custom
#define ADMIN_MENU		1048576	//Flag "u", menus
#define ADMIN_ADMIN		16777216	//Flag "y", default admin
#define ADMIN_USER		33554432	//Flag "z", default user

#define FLAG_KICK		1	//Auth flag "a", kick if no auth
#define FLAG_TAG		2	//Auth flag "b", auth by tag
#define FLAG_AUTHID		4	//Auth flag "c", auth by WON/Steam ID
#define FLAG_IP			8	//Auth flag "d", auth by IP address
#define FLAG_NOPASS		16	//Auth flag "e", don't require password
 
Obrigado