commit
6702c428f8
@ -231,10 +231,13 @@ void CreateMove()
|
|||||||
{
|
{
|
||||||
if (gc_queue.size() && gc_timer.test_and_set(3000))
|
if (gc_queue.size() && gc_timer.test_and_set(3000))
|
||||||
{
|
{
|
||||||
queue_struct item = gc_queue.at(gc_queue.size() - 1);
|
for (int i = 0; i < 10 && gc_queue.size(); i++)
|
||||||
auto invmng = re::CTFInventoryManager::GTFInventoryManager();
|
{
|
||||||
invmng->EquipItemInLoadout(item.clazz, item.slot, item.uuid);
|
queue_struct item = gc_queue.at(gc_queue.size() - 1);
|
||||||
gc_queue.pop_back();
|
auto invmng = re::CTFInventoryManager::GTFInventoryManager();
|
||||||
|
invmng->EquipItemInLoadout(item.clazz, item.slot, item.uuid);
|
||||||
|
gc_queue.pop_back();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!hat_troll)
|
if (!hat_troll)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user