Группы Vip персон на серве КС, как создать? |
Здравствуйте, гость Вход | Регистрация
Наши новости:
|
|
|
Группы Vip персон на серве КС, как создать? |
jas0n
|
30.4.2007, 23:58
Сообщение
|
![]() |
А чем тебе playermodels
не подходит? Ток он по ip или steamid назначает модель. Или если хочеш флаг, то проще помоему будет переделать adminmodel в исходнике заменить ADMIN_KICK на нужный тебе флаг, скомпилить и будет тебе счастя =) Все флаги вот: Код ADMIN_IMMUNITY //a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
ADMIN_RESERVATION //b - reservation (can join on reserved slots) ADMIN_KICK //c - amx_kick command ADMIN_BAN //d - amx_ban and amx_unban commands ADMIN_SLAY //e - amx_slay and amx_slap commands ADMIN_MAP //f - amx_map command ADMIN_CVAR //g - amx_cvar command (not all cvars will be available) ADMIN_CFG //h - amx_cfg command ADMIN_CHAT //i - amx_chat and other chat commands ADMIN_VOTE //j - amx_vote and other vote commands ADMIN_PASSWORD //k - access to sv_password cvar (by amx_cvar command) ADMIN_RCON //l - access to amx_rcon command and rcon_password cvar (by amx_cvar command) ADMIN_LEVEL_A //m - custom level A (for additional plugins) ADMIN_LEVEL_B //n - custom level B ADMIN_LEVEL_C //o - custom level C ADMIN_LEVEL_D //p - custom level D ADMIN_LEVEL_E //q - custom level E ADMIN_LEVEL_F //r - custom level F ADMIN_LEVEL_G //s - custom level G ADMIN_LEVEL_H //t - custom level H ADMIN_MENU //u - menu access ADMIN_ADMIN //Flag "y", default admin ADMIN_USER //z - user (no admin) |
|
|
|
R@mZeS
|
1.5.2007, 10:59
Сообщение
|
|
|
|
|
|
|
Bugs_
|
2.5.2007, 10:39
Сообщение
|
|
|
Переделай adminmodels как тебе нравится Есть плугин Playermodel [quote]Console Commands (ADMIN_KICK access): amx_playermodel_ini Display models.ini list amx_playermodel_models Display default models and all custom models available in models/player folder. Custom models that have been precached in current game session (by playermodel plugin) are marked with a (*). amx_playermodel_set [steamid|ip|botname] [#modelindex] | [model1] [model2] | [uniquemodel] 1) Set lines the same well as described in model.ini (without quotes) Examples: amx_playermodel_set 127.0.0.1 urban gign amx_playermodel_set *BOTDEFAULT #2 amx_playetmodel_set STEAM_0:0:1234567 predator2 Мой пример :D amx_playetmodel_set 1 modelname 2) There's another way to use it so you can easily get Steamid or IP from users that are connected to your server. Suppose Chuck is playing in your server and you want him to wear the famous "chicken suit" model because he deserves the best. But you can't figure what is his steamid or ip, or maybe you don't want to type all that stuff. So you just type: amx_playermodel_set &Chuck chickenmodel this will fetch Chuck's steamid and place it correctly in models.ini. Alternatively you could set the model by Chuck's IP: amx_playermodel_set %Chuck chickenmodel Obviously this can only be made if the player you want to include is connected to the server. Chuck is a nice example, I must recognize that sometimes it's just easier to type the steamid than those odd player names. amx_playermodel_del [linenumber] delete a models.ini line. You can retrieve mod Тут хз чё написано, но! Модели нужно добавлять в models/player/modelname/modelname.mdl потом пишешь amx_playermodel_set "ID" "modelname" P.S. ID узнается через stat
Прикрепленные файлы:
models_ini.zip ( 1 килобайт )
Кол-во скачиваний: 31
playermodel.rar ( 41,68 килобайт )
Кол-во скачиваний: 31 |
|
|
|
Flareon
|
2.5.2007, 15:32
Сообщение
|
![]() |
куда пихать models.ini
|
|
|
|
Bugs_
|
2.5.2007, 17:47
Сообщение
|
|
|
|
|
|
|
Flareon
|
2.5.2007, 19:00
Сообщение
|
![]() |
а её нужно каждый раз запускать?
можно какнить сделать чтоб на сервак заходили юзеры и были уже в одежде? |
|
|
|
Flareon
|
2.5.2007, 21:59
Сообщение
|
![]() |
а как сделать допустим у меня 2 модели випа для Т и КТ , как сделать чтоб при заходе за т была 1 модель а за кт 2я?
|
|
|
|
Bugs_
|
3.5.2007, 11:11
Сообщение
|
|
|
|
|
|
|
![]() ![]() |