21.11.2012, 01:02
I'm using the plugin CrashDetector to try and find the trace but I can't seem to find the issue.
Line 44704
Line 22761
Код:
[debug] AMX backtrace: [debug] #1 0022c2e0 in ResetPlayerWeaponsEx (playerid=2282384) at pwn:44704 [debug] #2 0012c934 in public OnPlayerCommandText (playerid=1, cmdtext[]=@0x0088d700 "rn to the base and deliver the..."):22761 [debug] Server crashed while executing script.amx
pawn Код:
stock ResetPlayerWeaponsEx(playerid)
{
for(new i = 0; i < 50; i++)
{
Weapons[playerid][i] = 0;
}
return ResetPlayerWeapons(playerid); // THIS LINE TO BE EXACT.
}
pawn Код:
PlayerInfo[playerid][pInvWeapon] = 0;