We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95093cb commit 0e8cdabCopy full SHA for 0e8cdab
VIP.cs
@@ -550,10 +550,12 @@ private void Give_Values(CCSPlayerController controller)
550
}
551
if (LastUsed[client] != 2 || LastUsed[client] != 3)
552
{
553
- if (CheckIsHaveWeapon("healthshot", controller) == false)
+ foreach (var weapon in Config.SpawnItems)
554
555
- controller.GiveNamedItem("weapon_healthshot");
556
- controller.GiveNamedItem("item_assaultsuit");
+ if (CheckIsHaveWeapon($"{weapon}", controller) == false)
+ {
557
+ controller.GiveNamedItem($"{weapon}");
558
+ }
559
560
561
0 commit comments