Server is shut down. The plugin "crashdetect" generates this error.
PHP код:
forward LoadBussines(query[], playerid, extraid, connectionHandle);
public LoadBussines(query[], playerid, extraid, connectionHandle) {
mysql_store_result();
new str[128],str2[256];
if(mysql_num_rows() != 0) {
for(new i = 1; i != mysql_num_rows()+1; i++) {
mysql_fetch_row(str);
sscanf(str,"p<|>iis[24]s[32]iiffffffiiiiiis[32]ii",
bInfo[i][bNumber],
bInfo[i][bOwned],
bInfo[i][bOwner],
bInfo[i][bName],
bInfo[i][bPrice],
bInfo[i][bLevel],
bInfo[i][bEnX],
bInfo[i][bEnY],
bInfo[i][bEnZ],
bInfo[i][bExX],
bInfo[i][bExY],
bInfo[i][bExZ],
bInfo[i][bInt],
bInfo[i][bWorld],
bInfo[i][bProds],
bInfo[i][bMaxProds],
bInfo[i][bBalance],
bInfo[i][bParam],
bInfo[i][bRoof],
bInfo[i][bOneProds],
bInfo[i][bLock]);
if(bInfo[i][bEnX] == -1) continue;
printf("* Bussines [ %d ]\t\t %s\t\t loaded.",bInfo[i][bNumber],bInfo[i][bName]);
if(bInfo[i][bOwned] == 1) {
format(str2,sizeof(str2),"{DAA520}Áèçíåñ %d\n%s\nÂëàäåëåö: %s\nÏðîäóêòû: %d/%d\nÖåíà: %d$ Ëåâåë: %d\n{BEBEBE}*******************************\n{DAA520}Áèçíåñ ïîä êðûøåé: %s",
bInfo[i][bNumber],bInfo[i][bName],bInfo[i][bOwner],bInfo[i][bProds],bInfo[i][bMaxProds],bInfo[i][bPrice],bInfo[i][bLevel],bInfo[i][bRoof]);
}
else {
format(str2,sizeof(str2),"{DAA520}Áèçíåñ %d\n%s\n!!! ÏÐÎÄÀÅÒÑß !!!\nÏðîäóêòû: %d/%d\nÖåíà: %d$ Ëåâåë: %d\n{BEBEBE}*******************************\n{DAA520}Áèçíåñ ïîä êðûøåé: %s",
bInfo[i][bNumber],bInfo[i][bName],bInfo[i][bProds],bInfo[i][bMaxProds],bInfo[i][bPrice],bInfo[i][bLevel],bInfo[i][bRoof]);
}
bInfo[i][bTextid] = CreateDynamic3DTextLabel(str2,0xFF0000FF,bInfo[i][bEnX],bInfo[i][bEnY],bInfo[i][bEnZ],2.0);
bInfo[i][bPickupid] = CreateDynamicPickup(1274,23,bInfo[i][bEnX],bInfo[i][bEnY],bInfo[i][bEnZ],-1);
switch(i) {
case 1,2,3,4,5,6,7,8,13: CreateDynamicMapIcon(bInfo[i][bEnX],bInfo[i][bEnY],bInfo[i][bEnZ],6,0);
default: CreateDynamicMapIcon(bInfo[i][bEnX],bInfo[i][bEnY],bInfo[i][bEnZ],36,0);
}
}
}
mysql_free_result();
return 1;
}