16.03.2016, 12:25
Код:
[14:19:24] RCON (In-Game): Player [Eclipse27] sent command: changemode xMA7 [14:19:36] Houses: 70 [14:19:36] Event Loaded [14:19:36] Bussines: 8 [14:19:36] SBiz: 27 [14:19:36] Stuff Loaded [14:19:36] Charity Loaded [14:19:36] Turf: 24 [14:19:36] Papers: 10 [14:19:36] Dynamic Factions: 14 [14:19:36] Cars: 28 [14:19:36] Stock Loaded [14:19:36] 1361 - Objects. [14:19:36] 65 - Pickups. [14:19:36] OnGameModeInit Loaded [14:19:36] Script loaded - SA-MP RPG v1.4 [14:19:36] Number of vehicle models: 74 [14:19:40] Eclipse27 has logged in with IP 5.15.51.80. [14:19:40] [death] Eclipse27 died 255 [14:21:04] [debug] Server crashed while executing xMA7.amx [14:21:04] [debug] AMX backtrace: [14:21:04] [debug] #0 native SendClientMessageToAll () [080d9da0] from samp03svr [14:21:04] [debug] #1 001ffb10 in public cmd_dmwinner (0x00000000, 0x00a10244) from xMA7.amx [14:21:04] [debug] #2 native CallLocalFunction () [080dfac0] from samp03svr [14:21:04] [debug] #3 00008f30 in public OnPlayerCommandText (0x00000000, 0x00a1020c) from xMA7.amx [14:21:04] [debug] Native backtrace: [14:21:04] [debug] #0 b65b809b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so [14:21:04] [debug] #1 b65b32d2 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so [14:21:04] [debug] #2 b65b3ebc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so [14:21:04] [debug] #3 b65b4366 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so [14:21:04] [debug] #4 b65b7cec in ?? () from plugins/crashdetect.so [14:21:04] [debug] #5 b77d7600 in ?? () [14:21:04] [debug] #6 b7559a66 in ?? () from /lib/libc.so.6 [14:21:04] [debug] #7 b752423f in _IO_vfprintf () from /lib/libc.so.6 [14:21:04] [debug] #8 b75436cc in vsprintf () from /lib/libc.so.6 [14:21:04] [debug] #9 080add67 in ?? () from ./samp03svr [14:21:04] [debug] #10 080d9e51 in ?? () from ./samp03svr [14:21:04] [debug] #11 080950e4 in ?? () from ./samp03svr [14:21:04] [debug] #12 b65b0b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [14:21:04] [debug] #13 b65b6d38 in ?? () from plugins/crashdetect.so [14:21:04] [debug] #14 b65bd1f8 in amx_Exec () from plugins/crashdetect.so [14:21:04] [debug] #15 b65b3218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [14:21:04] [debug] #16 b65b6aa9 in ?? () from plugins/crashdetect.so [14:21:04] [debug] #17 080dfd62 in ?? () from ./samp03svr [14:21:04] [debug] #18 080950e4 in ?? () from ./samp03svr [14:21:04] [debug] #19 b65b0b9c in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so [14:21:04] [debug] #20 b65b6d38 in ?? () from plugins/crashdetect.so [14:21:04] [debug] #21 b65bd1f8 in amx_Exec () from plugins/crashdetect.so [14:21:04] [debug] #22 b65b3218 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so [14:21:04] [debug] #23 b65b6aa9 in ?? () from plugins/crashdetect.so [14:21:04] [debug] #24 080a5632 in ?? () from ./samp03svr [14:21:04] [debug] #25 080b1751 in ?? () from ./samp03svr [14:21:04] [debug] #26 08071d38 in ?? () from ./samp03svr [14:21:04] [debug] #27 08071e32 in ?? () from ./samp03svr [14:21:04] [debug] #28 0807bc50 in ?? () from ./samp03svr [14:21:04] [debug] #29 080aed3d in ?? () from ./samp03svr [14:21:04] [debug] #30 080aef02 in ?? () from ./samp03svr [14:21:04] [debug] #31 080aa13a in ?? () from ./samp03svr [14:21:04] [debug] #32 b74f6d36 in __libc_start_main () from /lib/libc.so.6 [14:21:04] [debug] #33 0804b4e1 in ?? () from ./samp03svr
PHP код:
CMD:joindm(playerid,params[])
{
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid,COLOR_LIGHTRED, "Logheazate mai intai");
if(IsPlayerConnected(playerid))
{
if(EventInfo[eStatus] != 1) return SendClientMessage(playerid,-1,"Nu este nici un event pornit");
if(EventInfo[eStatus] == 1)
{
if(PlayerInfo[playerid][pJailed] > 0)
{
SendClientMessage(playerid,-1,"Nu poti participa la event cat timp esti in puscarie.");
return 0;
}
new Random = random(sizeof(RandomSpawns)),str[120];
SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
TogglePlayerControllable(playerid,0);
PlayerInfo[playerid][pEvent] = 1;
GivePlayerWeaponEx(playerid,30,100);
SetPlayerInterior(playerid,1);
SetPlayerHealthEx(playerid,100);
format(str,sizeof(str),"UPDATE `users` SET `partevent` ='1' WHERE `name` ='%s'",GetName(playerid));
mysql_query(SQL,str);
}
}
return 1;
}