So
I started debugging since It didn't work and it seems to crash when I use the IsDestroyed() function.
It even crashes when I use any function.
This is in the debug console thing
if ((m_OwnerName == "" && m_OwnerObject == NULL) || m_OwnerObject->IsDestroyed())should work?
I started debugging since It didn't work and it seems to crash when I use the IsDestroyed() function.
It even crashes when I use any function.
This is in the debug console thing
Code:
The thread 'Win32 Thread' (0xf48) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xe94) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x12f0) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x13c0) has exited with code 0 (0x0).
First-chance exception at 0x01031642 in MCServer.exe: 0xC0000005: Access violation reading location 0x000000b8.
Unhandled exception at 0x01031642 in MCServer.exe: 0xC0000005: Access violation reading location 0x000000b8.