Иконка ресурса

Не поддерживается [Shop] Abilities Core 2.3.3

Обратите внимание: этот ресурс не поддерживается разработчиком.
Версия Дата выпуска Скачивания Оценка  
2.3.3 684 0.00 звёзд 0 оценок Скачать
2.2a 345 5.00 звёзд 2 оценок Скачать
2.0 63 0.00 звёзд 0 оценок Скачать
Добавлена возможность блокировки некоторых бонусов, а также возможность получения информации о зарегистрированных бонусах
Исправлен custom_info.ini, который мог не работать из-за расхождений регистра строк (Item != item)

Новое API, старое не убрано
C-подобный:
/***
 * Abilities2_AttributeRegistered
 * Called when attribute has been registered
***/
forward void Abilities2_AttributeRegistered(const char[] attribute, int index, int type);

/***
 * Abilities2_AttributeRegistered
 * Called when attribute has been registered
 * Return Plugin_Stop to prevert 
***/
forward Action Abilities2_OnCheckEnable(int client, int index);

// Returns attribute's index or -1 if not found
native int Abilities2_FindAttributeByName(const char[] attribute);

// Stores attribute's name to buffer
// Throws error if attribute's index is invalid
native void Abilities2_GetAttributeName(int id, char[] buffer, int max);

// Throws error if client isnt connected or client is bot
// Throws error if attribute's index is invalid
native any Abilities2_GetClientAttributeEx(int client, int id);

/***
 *    Types:
 *    0 - PERCENT, displays as +100*F%
 *    1 - FLOAT, displays as +F
 *    2 - INT, displays as +N
***/
// Throws error if attribute's index is invalid
native int Abilities2_GetAttributeType(int id);

// Returns attributes count
native int Abilities2_AttributeCount();

// Recalculate or refresh attributes blocks
native void Abilities2_UpdatePlayer(int client, bool recalculate = false);
Исправлен баг: [Shop] Base Abilities
Добавлен конфиг addons/sourcemod/configs/shop/custom_info.ini для установки бонусов предметам, чьи плагины не поддерживают атрибуты
Полностью переписанное ядро, которое теперь действительно является ядром и работает исправно
Тестирование проводилось на сервере CS:GO, все работает исправно
Но если найдутся баги - есть репозиторий GitHub и обсуждения
Само ядро ничего не добавляет, нужны модули
Например: https://hlmod.ru/resources/shop-base-abilities.1826/
Сверху Снизу