23.04.2016, 19:02
I recently added "disconnect" reason to my server under OnPlayerDisconnect; But when i restart the server using /restart command, it crashes the server. I finally solved why my server was crashing on restarting with crash detect; and this was the reason, i commented this code and then the restart command works absolutely fine.
Can someone figure out what's the issue in this code? Thanks a lot!
Can someone figure out what's the issue in this code? Thanks a lot!
Код:
/*switch(reason) { case 0: { SendClientMessageToAllEx(-1, "{C0C0C0}%s(%d) Has Left ZCNR (Timeout / Crash)."); } case 1: { SendClientMessageToAllEx(-1, "{C0C0C0}%s(%d) Has Left ZCNR (Leaving / Quit)."); } case 2: { SendClientMessageToAllEx(-1, "{C0C0C0}%s(%d) Has Left ZCNR (Kicked / Banned)."); } }*/