Если верить документации, то можно использовать iAdmin = -1 при выдаче VIP игроку через плагин.
VIP_GiveClientVIP(-1, iClient, g_hKv.GetNum("timeleft", 604800), sGroup, true);
Но когда мы так делаем, получаем еррор лог в виде
L 01/19/2019 - 14:36:51: [SM] Exception reported: Client index -1 is invalid
L 01/19/2019 - 14:36:51: [SM] Blaming: vip/VIP_Core.smx
L 01/19/2019 - 14:36:51: [SM] Call stack trace:
L 01/19/2019 - 14:36:51: [SM] [0] GetClientName
L 01/19/2019 - 14:36:51: [SM] [1] Line 232, vip/UTIL.sp::UTIL_GetClientInfo
L 01/19/2019 - 14:36:51: [SM] [2] Line 348, vip/UTIL.sp::UTIL_ADD_VIP_PLAYER
L 01/19/2019 - 14:36:51: [SM] [3] Line 607, vip/API.sp::API_GiveClientVIP
L 01/19/2019 - 14:36:51: [SM] [4] Line 554, vip/API.sp::Native_GiveClientVIP
L 01/19/2019 - 14:36:51: [SM] [6] VIP_GiveClientVIP
L 01/19/2019 - 14:36:51: [SM] [7] Line 136, shop_vip_buy_v2.sp::OnBuyVip
L 01/19/2019 - 14:36:51: [SM] [9] Call_Finish
L 01/19/2019 - 14:36:51: [SM] [10] Line 2279, shop/item_manager.sp::ItemManager_OnItemBuyEx
L 01/19/2019 - 14:36:51: [SM] [11] Line 1972, k1-shop.sp::BuyItem
L 01/19/2019 - 14:36:51: [SM] [12] Line 1541, k1-shop.sp::ItemPanel_Handler
-> VIP Core с hlmod
Так же пытались использовать VIP с гитхаба, те же ошибки, но не много другие строки тык
Если верить документации, то можно использовать iAdmin = -1 при выдаче VIP игроку через плагин.
VIP_GiveClientVIP(-1, iClient, g_hKv.GetNum("timeleft", 604800), sGroup, true);
Но когда мы так делаем, получаем еррор лог в видеL 01/19/2019 - 14:36:51: [SM] Exception reported: Client index -1 is invalid L 01/19/2019 - 14:36:51: [SM] Blaming: vip/VIP_Core.smx L 01/19/2019 - 14:36:51: [SM] Call stack trace: L 01/19/2019 - 14:36:51: [SM] [0] GetClientName L 01/19/2019 - 14:36:51: [SM] [1] Line 232, vip/UTIL.sp::UTIL_GetClientInfo L 01/19/2019 - 14:36:51: [SM] [2] Line 348, vip/UTIL.sp::UTIL_ADD_VIP_PLAYER L 01/19/2019 - 14:36:51: [SM] [3] Line 607, vip/API.sp::API_GiveClientVIP L 01/19/2019 - 14:36:51: [SM] [4] Line 554, vip/API.sp::Native_GiveClientVIP L 01/19/2019 - 14:36:51: [SM] [6] VIP_GiveClientVIP L 01/19/2019 - 14:36:51: [SM] [7] Line 136, shop_vip_buy_v2.sp::OnBuyVip L 01/19/2019 - 14:36:51: [SM] [9] Call_Finish L 01/19/2019 - 14:36:51: [SM] [10] Line 2279, shop/item_manager.sp::ItemManager_OnItemBuyEx L 01/19/2019 - 14:36:51: [SM] [11] Line 1972, k1-shop.sp::BuyItem L 01/19/2019 - 14:36:51: [SM] [12] Line 1541, k1-shop.sp::ItemPanel_Handler -> VIP Core с hlmod
Так же пытались использовать VIP с гитхаба, те же ошибки, но не много другие строки тык