The Dropexcept function in the manual needs an argument. I dont know how to pass an array of an integer to a function. How do I do that?
The Dropexcept function in the manual needs an argument. I dont know how to pass an array of an integer to a function. How do I do that?
To write an array of Integer into one line, just use this:
[Number, AnotherNumber, AnotherNumber]
Remember, do not set any array length, else the procedure will crash.
EXAMPLE:
If I want to drop all items except for slot 1, 14 and 16 i do this:
DropExcept([1,14,16])
-Knives
There are currently 1 users browsing this thread. (0 members and 1 guests)