06-28-2012, 06:56 AM
The problem there is that UnitExist must be declared (included) before it's referenced for the 1st time.
Try to put the include at the beginning, and tell me.
Try to put the include at the beginning, and tell me.