23.04.2012, 20:58
Okay i enter the server normally and when i exit the client exits too ...
Heres the OnPlayerDisconnect
And heres the crash log :
Heres the OnPlayerDisconnect
Код:
public OnPlayerDisconnect(playerid, reason) { SendClientMessageToAll(COLOR_RED,"%s has left the server. Bye."); if (PLAYERLIST_authed[playerid]) { dUserSetINT(PlayerName2(playerid)).("money",GetPlayerMoney(playerid)); dUserSetINT(PlayerName2(playerid)).("kills",MyKills[playerid]); dUserSetINT(PlayerName2(playerid)).("deaths",MyDeaths[playerid]); dUserSetINT(PlayerName2(playerid)).("teamkills",TeamKills[playerid]); } PLAYERLIST_authed[playerid]=true; return false; }
Код:
SA-MP Server: 0.3d-R2 Exception At Address: 0x00492AAC Registers: EAX: 0x68207325 EBX: 0x02837573 ECX: 0x7FFFFFFE EDX: 0x0018F7D8 ESI: 0x0018F7D8 EDI: 0x0018FBFE EBP: 0x0018F48C ESP: 0x0018F400 EFLAGS: 0x00010202 Stack: +0000: 0x0018FBD8 0x0018F7D8 0x02837568 0x00000000 +0010: 0x00000000 0x00000000 0x00000000 0x00000007 +0020: 0x00000000 0x00000000 0x00000000 0x00000000 +0030: 0x00000000 0x00000000 0x00000000 0x00000000 +0040: 0x00000000 0x00000000 0x68207325 0xFFFFFFFF +0050: 0x00000000 0x00000000 0x00000000 0x00000000 +0060: 0x00000000 0x00000000 0x00000000 0x00000000 +0070: 0x00000000 0x00000000 0x00000000 0x00000000 +0080: 0x00000000 0x00000000 0x00000000 0x00000000 +0090: 0x00000000 0x00000000 0x00000000 0x00000000 +00A0: 0x0000000A 0x0214A3E0 0x00250000 0x0214A460 +00B0: 0x00000000 0x00000000 0x00000000 0x00000000 +00C0: 0x00000006 0x0018F5B0 0x0000000A 0x00250000 +00D0: 0x0214A3E0 0x0018F5B0 0x77793413 0x77793442 +00E0: 0x7AAF716C 0x0018F724 0x002501D4 0x00250000 +00F0: 0x00250150 0x00000000 0x00000000 0x00250150 +0100: 0x00000000 0x00250174 0x00000000 0x00000006 +0110: 0x00000000 0x00250150 0x00000010 0x02859168 +0120: 0x00000000 0x00000010 0x00000000 0x0000000A +0130: 0x00000000 0x00000000 0x00000000 0x00000000