-------------------------- SA-MP Server: 0.3c Exception At Address: 0x1000424A Registers: EAX: 0x00000000 EBX: 0x03101DA4 ECX: 0x0012FCF0 EDX: 0x00000000 ESI: 0x006FCC10 EDI: 0x006FCC10 EBP: 0x0012FCDC ESP: 0x0012FCAC EFLAGS: 0x00010202 Stack: +0000: 0x006FCC10 0x0012FCEC 0x006FCC10 0x03101DA4 +0010: 0x0012FD2F 0x7FFFFFBF 0x0012FCF0 0x00000042 +0020: 0x01520DB8 0x00000005 0x031A2EA0 0x00000000 +0030: 0x0012FD80 0x1000770F 0x00000000 0x0012FCF0 +0040: 0x00000004 0x636E7546 0x6E6F6974 0x796D203A +0050: 0x5F6C7173 0x72657571 0x61632079 0x64656C6C +0060: 0x65687720 0x6F6E206E 0x6F632074 0x63656E6E +0070: 0x20646574 0x61206F74 0x6420796E 0x62617461 +0080: 0x00657361 0x00000FC1 0x00484054 0x004F428E +0090: 0x00000FFF 0x00000000 0x006FCC10 0x031CA0A4 +00A0: 0x0012FD64 0x006FCC10 0x031CA0A4 0x006FCC10 +00B0: 0x031CA0A4 0x00486661 0x031CA0BC 0x004F4250 +00C0: 0x00000000 0x3F20CB73 0x00000000 0x006FCC10 +00D0: 0x006FCC10 0x031059A4 0x00401096 0x006FCC10 +00E0: 0x031CA0A8 0x03149570 0x00402BB3 0x006FCC10 +00F0: 0x0000002C 0x0012FDB8 0x031CA0A8 0x02C81948 +0100: 0x00000001 0x00000001 0x006FCC10 0x00000001 +0110: 0x0007CF68 0x00080B38 0x00080F5C 0x0007CF60 +0120: 0x00080F4C 0x0007CF60 0x03101DA4 0x03149570 +0130: 0x00000000 0x03100020 0x000477CC 0x00490BAA |
dcmd_showevents(playerid,params[])
{
new Time;
if(GetPVarInt(playerid,"AdminLvl") < 2) return NotA(playerid);
else if(sscanf(params, "i", Time)) UsageMsg(playerid,"Usage: /ShowEvents (to all players) <Time(sec)>");
else
{
if(Time <= 0)
{
foreach(Player,i)
{
TextDrawHideForPlayer(i,EventTiteTD);
TextDrawHideForPlayer(i,Events1TD);
TextDrawHideForPlayer(i,Events2TD);
TextDrawHideForPlayer(i,Events3TD);
TextDrawHideForPlayer(i,EventCurrentTD);
TextDrawHideForPlayer(i,EventTimeTD);
}
}
else
{
new h,m;
gettime(h,m);
h = h + TIME_OFFSET;
new timestr[30];
format(timestr,30,"Current Time: ~g~ %i:%02i",h,m);
TextDrawSetString(EventTimeTD,timestr);
foreach(Player,i)
{
TextDrawShowForPlayer(i,EventTiteTD);
TextDrawShowForPlayer(i,Events1TD);
TextDrawShowForPlayer(i,Events2TD);
TextDrawShowForPlayer(i,Events3TD);
TextDrawShowForPlayer(i,EventCurrentTD);
TextDrawShowForPlayer(i,EventTimeTD);
}
SetTimerEx("HideEventList",Time*1000,0,"d",-1);
}
}
return 1;
}
forward HideEventList(pid);
public HideEventList(pid)
{
if(pid == -1)
{
foreach(Player,i)
{
TextDrawHideForPlayer(i,EventTiteTD);
TextDrawHideForPlayer(i,Events1TD);
TextDrawHideForPlayer(i,Events2TD);
TextDrawHideForPlayer(i,Events3TD);
TextDrawHideForPlayer(i,EventCurrentTD);
TextDrawHideForPlayer(i,EventTimeTD);
}
}
}
is it possible that Sscanf2 plugin is crashing it?
That is the most recent plugin I started using, before that, I don't remember any crashes happening.. |