So im trying to give kit with Give plugins method or whatever you call it but it just doesnt seem to work like i want it to.
void OnEnterZone(string ItemCollectingZone, BasePlayer player)
{
Timer t = null;
t = timer.Repeat(1f, repeatamount, () =>
{
covalence.Server.Command("givekit item" + " " + player.UserIDString);
if (player.inventory.GetAmount(-542577259) == maxamount)
{
t.Destroy();
player.ChatMessage("You Have Maxium Amount Of This Item");
}
});
}I keep getting this in my console
76561198806642765 is not a valid kit