PHP код:
[debug] AMX backtrace:
[debug] #0 003e4548 in ?? (1627389952) from PLR.amx
[debug] #1 0003f1a8 in public ApagarFogo (1627389952) from PLR.amx
[debug] #2 native CallRemoteFunction () from samp-server.exe
[debug] #3 0000ff9c in public UpdateFire () from PLR.amx
[debug] Run time error 4: "Array index out of bounds"
[debug] Accessing element at index 6356992 past array upper bound 49
[debug] AMX backtrace:
[debug] #0 003e4548 in ?? (6356992) from PLR.amx
[debug] #1 0003f1a8 in public ApagarFogo (6356992) from PLR.amx
[debug] #2 native CallRemoteFunction () from samp-server.exe
[debug] #3 0000ff9c in public UpdateFire () from PLR.amx
[debug] Run time error 4: "Array index out of bounds"
[debug] Accessing element at index 1912602624 past array upper bound 49
[debug] AMX backtrace:
=================================
[debug] Run time error 4: "Array index out of bounds"
[debug] Accessing element at index 256 past array upper bound 255
[debug] AMX backtrace:
[debug] #0 00004fa8 in ?? (12203808, -1, 0) from PLR.amx
[debug] #1 00003e6c in ?? (12203808, 11906452, 12203712, 16, 12188684) from PLR.amx
[debug] #2 00003fdc in ?? (12203808, 11906452, 12188684) from PLR.amx
[debug] #3 003e4780 in public LoadCofreOrg () from PLR.amx
[debug] #4 001da4d4 in public ab_OnGameModeInit () from PLR.amx
[debug] #5 native CallLocalFunction () from samp-server.exe
[debug] #6 00007668 in public SSCANF_OnGameModeInit () from PLR.amx
[debug] #7 native CallLocalFunction () from samp-server.exe
[debug] #8 000066bc in public Itter_OnGameModeInit () from PLR.amx
[debug] #9 native CallLocalFunction () from samp-server.exe
[debug] #10 00001898 in public OnGameModeInit () from PLR.amx
==============================================
public ApagarFogo(playerid)
{
if(!CountFires())
{
SetTimer("CriarIncendio", 20000*25, 0);
new Str[122];
SendFamilyMessage(20, 0xF05353FF, "|--------------------------------------------------------------------------------------------------------------------------|");
SendFamilyMessage(20, 0xF05353FF, "[INCКNDIO]: Nгo ha mais focos de incкndios na cidade!");
if(VitimasIncendio)
{
format(Str, sizeof Str, " - Ao todo %d pessoas morreram queimadas no incкndio.", VitimasIncendio);
}
else format(Str, sizeof Str, " - Felizmente nгo foram encontradas vнtimas Fatais no incкndio.");
SendFamilyMessage(20, 0xF05353FF, Str);
SendFamilyMessage(20, 0xF05353FF, "|--------------------------------------------------------------------------------------------------------------------------|");
if(BombeiroApagou){
format(Str, sizeof Str, "***Sua organizaзгo ajudou a apagar o incкndio, por isso ganhou: R$%d de bфnus!", ConvertMoney(BonusApagou));
SendFamilyMessage(20, COLOR_LIGHTBLUE, Str);
foreach(Player, i)
{
if(GetPlayerOrg(i) == 20)
{
GiveDinheiro(i, BonusApagou);
}
}
}
TendoIncendio=false;
}
PHP код:
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[20:36:02]
[20:36:02] Server Plugins
[20:36:02] --------------
[20:36:02] Loading plugin: crashdetect
[20:36:02] CrashDetect v4.15.1 is OK.
[20:36:02] Loaded.
[20:36:02] Loading plugin: sscanf
[20:36:02]
[20:36:02] ===============================
[20:36:02] sscanf plugin loaded.
[20:36:02] Version: 2.8.1
[20:36:02] (c) 2012 Alex "******" Cole
[20:36:02] ===============================
[20:36:02] Loaded.
[20:36:02] Loading plugin: streamer
[20:36:02] Loaded.
[20:36:02] Loading plugin: MapAndreas
[20:36:02] Loaded.
[20:36:02] Loaded 4 plugins.
[20:36:02]
[20:36:02] Ban list
[20:36:02] --------
[20:36:02] Loaded: samp.ban
[20:36:02]
[20:36:02]
[20:36:02] Filterscripts
[20:36:02] ---------------
[20:36:02] Loading filterscript 'mensagem.amx'...
[20:36:02] Loaded 1 filterscripts.
[20:36:02] OnGameo
[20:36:02] =======================================================================
[20:36:02] = Carregando: Brasil Magic Games RPG 1.0
[20:36:02] =======================================================================
[20:36:02] MapAndreas: plugin could not init!
[20:36:02] MapAndreas: check files and make sure you have enough memory!
[20:36:03] => Casas : 321 Carregadas
[20:36:03] => Empresas : 43 Carregadas
[20:36:03] => Fazendas : 20 Carregadas
[20:36:03] [debug] Run time error 4: "Array index out of bounds"
[20:36:03] [debug] Accessing element at index 256 past array upper bound 255
[20:36:03] [debug] AMX backtrace:
[20:36:03] [debug] #0 00004fa8 in ?? (12203808, -1, 0) from PLR.amx
[20:36:03] [debug] #1 00003e6c in ?? (12203808, 11906452, 12203712, 16, 12188684) from PLR.amx
[20:36:03] [debug] #2 00003fdc in ?? (12203808, 11906452, 12188684) from PLR.amx
[20:36:03] [debug] #3 003e4780 in public LoadCofreOrg () from PLR.amx
[20:36:03] [debug] #4 001da4d4 in public ab_OnGameModeInit () from PLR.amx
[20:36:03] [debug] #5 native CallLocalFunction () from samp-server.exe
[20:36:03] [debug] #6 00007668 in public SSCANF_OnGameModeInit () from PLR.amx
[20:36:03] [debug] #7 native CallLocalFunction () from samp-server.exe
[20:36:03] [debug] #8 000066bc in public Itter_OnGameModeInit () from PLR.amx
[20:36:03] [debug] #9 native CallLocalFunction () from samp-server.exe
[20:36:03] [debug] #10 00001898 in public OnGameModeInit () from PLR.amx
[20:36:03] Number of vehicle models: 95