09.03.2009, 10:42
Ah i see..
You forgot "case 2", which is kicked/banned.
Because you forgot it, the "cstring" variable will be left blank and empty strings will make the server crash.
pawn Код:
new cstring[100];
switch(reason)
{
case 0: format(cstring, sizeof(cstring), "(ID:%d ) %s has left the server... (Timeout)",playerid, pName);
case 1: format(cstring, sizeof(cstring), "(ID:%d ) %s has left the server... (Leaving)",playerid, pName);
}
SendClientMessageToAll(COLOR_ALIEN, cstring);
Because you forgot it, the "cstring" variable will be left blank and empty strings will make the server crash.

