Alex Spez
Дебютант
Выход за грани массива.
Выход за грани массива № 2
Выход за грани массива № 3
Код:
[21:15:29] [part] Alex_Spez has left the server (5:0)
[21:17:05] [debug] Run time error 4: "Array index out of bounds"
[21:17:05] [debug] Accessing element at index 65535 past array upper bound 99
[21:17:05] [debug] AMX backtrace:
[21:17:05] [debug] #0 0069abec in SetPlayerSkills (playerid=65535) at C:\Users\Âÿ÷åñëàâîâè÷\Desktop\Arizona Role Play []\gamemodes\arizonarp.pwn:21264
[21:17:05] [debug] #1 0069ab54 in public OnPlayerTakeDamage (playerid=1, issuerid=65535, Float:amount=165.00000, weaponid=54, ... <1 argument>) at C:\Users\Âÿ÷åñëàâîâè÷\Desktop\Arizona Role Play []\gamemodes\arizonarp.pwn:21253
Код:
}
stock SetPlayerSkills(playerid)
{
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL, PI[playerid][pPistol_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_PISTOL_SILENCED, PI[playerid][pSDPistol_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_DESERT_EAGLE, PI[playerid][pEagle_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SHOTGUN, PI[playerid][pShotGun_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MICRO_UZI, PI[playerid][pUZI_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_MP5, PI[playerid][pMP5_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_AK47, PI[playerid][pAK47_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_M4, PI[playerid][pM4_Skill]/10);
SetPlayerSkillLevel(playerid,WEAPONSKILL_SNIPERRIFLE, PI[playerid][pSniper_Skill]/10);
return true;
Выход за грани массива № 2
Код:
[21:05:47] [debug] Run time error 4: "Array index out of bounds"
[21:05:47] [debug] Accessing element at index 65535 past array upper bound 99
[21:05:47] [debug] AMX backtrace:
[21:05:47] [debug] #0 0086aa0c in public cmd_re (playerid=0, params[]=@0122f7a4 "") at C:\Users\Âÿ÷åñëàâîâè÷\Desktop\Arizona Role Play []\gamemodes\arizonarp.pwn:51653
[21:05:50] [debug] Run time error 4: "Array index out of bounds"
[21:05:50] [debug] Accessing element at index 65535 past array upper bound 99
[21:05:50] [debug] AMX backtrace:
[21:05:50] [debug] #0 0086aa0c in public cmd_re (playerid=0, params[]=@0122f7a4 "") at C:\Users\Âÿ÷åñëàâîâè÷\Desktop\Arizona Role Play []\gamemodes\arizonarp.pwn:51653
Код:
if(IsACop(params[0]))
{
if(UsingShield[params[0]])RemovePlayerAttachedObject(params[0], 7);
PI[params[0]][pShield] = 0.0;
}
Код:
[21:04:51] [debug] Run time error 4: "Array index out of bounds"
[21:04:51] [debug] Accessing element at index 1218 past array upper bound 1047
[21:04:51] [debug] AMX backtrace:
[21:04:51] [debug] #0 00658990 in public OnVehicleSpawn (vehicleid=1218) at C:\Users\Âÿ÷åñëàâîâè÷\Desktop\Arizona Role Play []\gamemodes\arizonarp.pwn:17852
[21:04:51] [part] Don_Kejual has left the server (6:0)
[21:04:56] [connection] 213.230.78.192:6774 requests connection cookie.
[21:04:57] [connection] incoming connection: 213.230.78.192:6774 id: 4
[21:04:58] [join] Don_Kejual has joined the server (4:213.230.78.192)
[21:05:10] [part] Don_Kejual has left the server (4:0)
Код:
}
else
{
SetDoorsStatus(vehicleid, 0);
CarInfo[vehicleid][cLock] = 0;
if(VehicleInfo[vehicleid][vJob]!=0)VehicleInfo[vehid][vLock]=0;
