vrtgn Posted April 16, 2019 Report Posted April 16, 2019 Hello. I am using the TF2 npm. What I want is when I message the bot on steam a specific message e.g. deleteAllCrates it should delete all the crates. I've coded the messaging part I just need it to get the ID's off all the crates and put them in an array so I can do tf2.deleteItem(array)^ would this work btw? Thanks in advance. Quote
Dr. McKay Posted April 16, 2019 Report Posted April 16, 2019 No, you can't pass an array to deleteItem. You'll need to call it for each item individually. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.