v2.0.0: refactor - models assigned by SteamID64 via config
Major changes: - Added configs/vip_custom_models_locked.cfg (SteamID64 to model_id) - Command sm_vmodel_reload for hot reload - Removed model selection menu (!vmodel/!models/!agents) - Removed VIP-Core integration (item removed from VIP menu) - Removed ClientPrefs cookies and SQLite (config is single source of truth) Bug fixes: - Fixed null-check bug (error[0] != space instead of null terminator) - Removed DB vs Cookie race condition - Cleaned up buffer null-termination workarounds - author = deidara.dev
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// Назначение моделей игрокам по SteamID64
|
||||
// Формат: "<SteamID64>" "<id_модели_из_vip_custom_models.ini>"
|
||||
//
|
||||
// Чтобы узнать SteamID64 игрока:
|
||||
// - в консоли сервера: status, потом https://steamid.io
|
||||
// - либо команда `sm_who` если есть SourceMod-плагин для админов
|
||||
//
|
||||
// id_модели — это название секции из vip_custom_models.ini
|
||||
// (например "agent_01", "elite_crew" — то что в кавычках перед { )
|
||||
//
|
||||
// После правки файла перезагрузи плагин:
|
||||
// sm plugins reload vip_custom_models
|
||||
// ИЛИ
|
||||
// sm_vmodel_reload (admin command, флаг z)
|
||||
|
||||
"VIP_LockedModels"
|
||||
{
|
||||
"76561198012345678" "agent_01"
|
||||
"76561198098765432" "elite_crew"
|
||||
"76561197960287930" "agent_01"
|
||||
}
|
||||
Reference in New Issue
Block a user