trough crashdetector and some prints i have discovered that the problem is here :
pawn Код:
new fEnter[17]; //global
//OnGamemodeInit()
for(new f = 0;f<=sizeof(sFactions);f++)
{
new stringf[256];
format(stringf,sizeof(stringf),"{FFFF00}%s\n{FF0000}Leader:%s\n{0000FF}",sFactions[f][fName],sFactions[f][fLeader]); //line 11756
if(f == 1)
{
fEnter[f] = Create3DTextLabel(stringf,RED,sFactions[f][fX],sFactions[f][fY],sFactions[f][fZ],15,-1,1);
}
else{
fEnter[f] = Create3DTextLabel(stringf,RED,sFactions[f][fX],sFactions[f][fY],sFactions[f][fZ],15,-1,1);
AddStaticPickup(19198, 23, sFactions[f][fX],sFactions[f][fY],sFactions[f][fZ]);
}
}
I have always have a problem whit that giving me a Warning :
pawn Код:
warning 213: tag mismatch
but never give it much importance because all worked fine...
pawn Код:
[18:20:20] [debug] Run time error 4: "Array index out of bounds"
[18:20:20] [debug] Accessing element at index 17 past array upper bound 16
[18:20:20] [debug] AMX backtrace:
[18:20:20] [debug] #0 0008e7e8 in public OnGameModeInit () at shady.pwn:11756
Please some help i don't know how to solve this!