C Programming Problem

Hello Guys,

i want to program my own teamspeak plugin. But i have the problem that pointing towards the array with a global variable leads to a crash of my teamspeak.

I hope some of you can help me.

You never initialize your counter variable; you only define it.
An array position of null is invalid.

Best regards