Add:
to the very top of your script file, before any code starts. getStructArray isn't an engine function, so you either have to include the file that contains the function definition (using the #include line I just showed you), or reference the file in the function call, such as:
what file do i put the code in?The same file you tried to use getStructArray() in.
The same file you tried to use getStructArray() in.yaphil made the script ill have to talk to him