Vaqtincha писал(а):попытки где ?
- Код: Выделить всё
if (user_has_weapon(pPlayer, !CSW_HEGRENADE && !CSW_FLASHBANG ))
fm_give_item(pPlayer, "weapon_hegrenade")
fm_give_item(pPlayer, "weapon_flashbang")
client_print(pPlayer,print_chat,"HE+flash")
if (user_has_weapon(pPlayer, !CSW_HEGRENADE ))
fm_give_item(pPlayer, "weapon_hegrenade")
client_print(pPlayer,print_chat,"HE")
if (user_has_weapon(pPlayer, !CSW_FLASHBANG ))
fm_give_item(pPlayer, "weapon_flashbang")
client_print(pPlayer,print_chat,"flash")
if (user_has_weapon(pPlayer, !CSW_FLASHBANG && CSW_HEGRENADE ))
fm_give_item(pPlayer, "weapon_flashbang")
client_print(pPlayer,print_chat,"flash")
if (user_has_weapon(pPlayer, CSW_FLASHBANG && CSW_HEGRENADE ))
client_print(pPlayer,print_chat,"Stop")
Не могу воспользоваться функцией return, PLUGIN_HANDLED, т.к плагин - это коробки , которые дропаются после смерти
и с return , PLUGIN_HANDLED; коробка просто багается(берется кучу раз и не исчезает)
remove_task; не получилось реализовать
а код, который выше просто не останавливается после 1 проверки и выполняет их до конца, не знаю
как остановить их после 1 верного выполнения
Вы должны зарегистрироваться, чтобы видеть ссылки.