dervin13
Active Member
- Joined
- Apr 26, 2008
- Messages
- 458
- Solutions
- 1
- Reaction score
- 28
Hello, I would like to know if it's possible to add a restart code when this errors occurs, because the automatic restart doesnt work as the tfs doesnt close and it didn't appear any error to close... thanks
void allocationHandler()
{
puts("Allocation failed, server out of memory!\nDecrease size of your map or compile in a 64-bit mode.");
char buffer[1024];
delete fgets(buffer, 1024, stdin);
exit(-1);
}
void allocationHandler()
{
puts("Allocation failed, server out of memory!\nDecrease size of your map or compile in a 64-bit mode.");
char buffer[1024];
delete fgets(buffer, 1024, stdin);
exit(-1);
}