Проверенный
Участник
- Сообщения
- 2,288
- Реакции
- 1,739
- Помог
- 31 раз(а)
Узнать больше об этом обновлении...
- Исправлен баг с обрезанным званием в информере
Добавлена возможность выбора флага игрока, которому выдавать или нет бонусные предметы (спавн и магазин)
Количество флагов -любое, т. е. можно прописатьflag = abc
, и тогда выдача будет только тому у кого все 3 флага есть.
Пример настройки в bonus.ini
- Выдать предмет ТОЛЬКО игроку с флагом t
C++:<give> item = weapon_flashbang name = Flash levels =...
<call>
plugin = aes_bonus_cstrike.amxx
name = 200 HP
function = GiveHP
value = 200
points = 1
по желанию - можно и ленг, и в конфиге
[menu]
<menu>
title = LANG_AES_BONUS_MENU
say = /anew
console = anew
list = 1 2 3 4 5 6 7
[items]
;<give>
;item = weapon_m4a1
;name = LANG_AES_BONUS_M4A1
;points = 1
;<give>
;item = weapon_ak47
;name = LANG_AES_BONUS_AK47
;points = 1
;<give>
;item = weapon_awp
;name = LANG_AES_BONUS_AWP
;points = 1
<call>
plugin = aes_bonus_cstrike.amxx
name = 123 брони
function = GiveArmor
value = 123
points = 5
flag = ~t
round = 2
time = 25
;<call>
;plugin = aes_bonus_cstrike.amxx
;name = 22000$
;function = GiveMoney
;value = 22000
;points = 1
;flag = ~t
<call>
plugin = aes_bonus_cstrike.amxx
name = 200 HP
function = GiveHP
value = 200
points = 10
flag = ~t
round = 2
time = 25
<call>
plugin = aes_bonus_cstrike.amxx
name = LANG_AES_BONUS_MEGAGRENADE
function = pointBonus_GiveMegaGrenade
points = 5
round = 2
time = 25
<call>
plugin = aes_bonus_cstrike.amxx
name = LANG_AES_BONUS_MEGADEAGLE
function = pointBonus_GiveMegaDeagle
points = 1
points = 5
round = 2
time = 25
<call>
plugin = aes_bonus_flags.amxx
name = LANG_AES_BONUS_GIVE_FLAGS
function = pointBonus_GiveFlags
points = 100
flags = t
days = 20
flag = ~t~a
[spawn]
<give>
item = weapon_smokegrenade
name = Smoke
levels = 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
flag = ~t~a
round = 2
<give>
item = weapon_hegrenade
name = HE
levels = 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
flag = ~t~a
round = 2
<give>
item = weapon_flashbang
name = Flash
levels = 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
flag = ~t~a
round = 2
<give>
item = weapon_deagle
name = Deagle
levels = 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
flag = a~t
round = 2
;<give>
;item = weapon_ak47
;name = AK47
;levels = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 90 90 90 90
<call>
plugin = aes_bonus_cstrike.amxx
name = Damager
function = roundBonus_Dmgr
levels = 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
flag = ~t
<call>
plugin = aes_bonus_cstrike.amxx
name = LANG_AES_BONUS_DEFKIT
function = roundBonus_GiveDefuser
levels = 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
flag = ~t
round = 2
<call>
plugin = aes_bonus_cstrike.amxx
name = LANG_AES_BONUS_NV
function = roundBonus_GiveNV
levels = 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
flag = ~t
round = 2
<call>
plugin = aes_bonus_cstrike.amxx
name = LANG_AES_BONUS_ARMOR
function = GiveArmor
levels = 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 2 2 2 120 150
flag = ~t
round = 2
<call>
plugin = aes_bonus_cstrike.amxx
name = LANG_AES_BOUNS_HP
function = GiveHP
levels = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 10 20 20
flag = ~t
round = 2
[spawn]
<give>
item = weapon_smokegrenade
name = Smoke
levels = 0 0 0 0 0 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2
flag = ~t
<give>
item = weapon_hegrenade
name = HE
levels = 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 3
flag = ~t
<give>
item = weapon_flashbang
name = Flash
levels = 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 5 6 6
flag = ~t
<call>
plugin = aes_bonus_flags.amxx
name = LANG_AES_BONUS_GIVE_FLAGS
function = хз что сюда надо)0
levels = 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1