Consider the following pseudo-code:
Code:
global uninitialized A
if (CreateTimer(..., MyTimer, ...))
{
Initialize A
}
MyTimer()
{
Get A
}
Could I confirm, with a sufficiently small timer, that A can get accessed before it's initialized in the if-statement, and that I must choose a place like OnClientConnected to initialize the array instead (or simply initialize it from the start)?