05.05.2015, 12:57
Yes. Like I said, it's expecting an OBJECT ID not a MODEL ID.
You have two options: loop through all objects and use GetObjectModel to check whether it's a tree, OR create cuttable trees with a function and save their IDs in an array.
You have two options: loop through all objects and use GetObjectModel to check whether it's a tree, OR create cuttable trees with a function and save their IDs in an array.