L 01/23/2021 - 17:59:21: Invalid cellvector handle provided (103:202:202)
L 01/23/2021 - 17:59:21: [AMXX] Displaying debug trace (plugin "cssbWar3ftMod.amxx")
L 01/23/2021 - 17:59:21: [AMXX] Run time error 10: native error (native "ArrayGetCell")
L 01/23/2021 - 17:59:21: [AMXX] [0] showwin.cpp::fwHamKilled (line 221)
L 01/23/2021 - 17:59:21: [AMXX] Displaying debug trace (plugin "cssbWar3ftMod.amxx")
L 01/23/2021 - 17:59:21: [AMXX] Run time error 10: native error (native "ArrayGetCell")
L 01/23/2021 - 17:59:21: [AMXX] [0] showwin.cpp::fwHamKilled (line 221)
iSkillLevel = SM_GetSkillLevel( idAttacker, PASS_PRIEST2 );
if ( iSkillLevel > 0 && isDisabledSkillsOnMap(idAttacker, PASS_PRIEST2) == false )
{
new XP_BONUS = random_num(50,300) ;
if ( is_user_connected(idAttacker) )
{
new Float:fHeaven = ArrayGetCell(arrHeaven,iSkillLevel);
if (random_float(fPriest2Skill4MinPercent,fPriest2Skill4MaxPercent) <= fHeaven )
{
formatex(szMessage, sizeof(szMessage) - 1, "%L",LANG_PLAYER,"CLIENT_PRINT_6",XP_BONUS);
cssbChatColor(idAttacker,"%s%s",fTagWar3ft(),szMessage);
XP_Give( idAttacker, XP_BONUS );
}
if ( iSkillLevel > 0 && isDisabledSkillsOnMap(idAttacker, PASS_PRIEST2) == false )
{
new XP_BONUS = random_num(50,300) ;
if ( is_user_connected(idAttacker) )
{
new Float:fHeaven = ArrayGetCell(arrHeaven,iSkillLevel);
if (random_float(fPriest2Skill4MinPercent,fPriest2Skill4MaxPercent) <= fHeaven )
{
formatex(szMessage, sizeof(szMessage) - 1, "%L",LANG_PLAYER,"CLIENT_PRINT_6",XP_BONUS);
cssbChatColor(idAttacker,"%s%s",fTagWar3ft(),szMessage);
XP_Give( idAttacker, XP_BONUS );
}
подскажите что не нравится или как исправить?