12.08.2014, 15:18
i got 1 Warning tag mismatch when compiler. There is funtion warning
Warning start in line format(szFileStr, sizeof(szFileStr), and finish in line HotDogUG[iIndex][HDTextID] anyone can help me fix that pls. Thanks you
Quote:
stock SaveHotDog() { new szFileStr[1024], File: fHandle = fopen("hotdog.cfg", io_write); for(new iIndex; iIndex < MAX_HOTDOGUG; iIndex++) { format(szFileStr, sizeof(szFileStr), "%d|%d|%d|%s|%d|%s|%d|%d|%d|%d|%f|%f|%f|%f|%s\r\n" , HotDogUG[iIndex][HDSQLId], HotDogUG[iIndex][HDExist], HotDogUG[iIndex][HDModelID], HotDogUG[iIndex][HDOwned], HotDogUG[iIndex][HDPrice], HotDogUG[iIndex][HDMenu], HotDogUG[iIndex][HDMenus], HotDogUG[iIndex][HDOffer], HotDogUG[iIndex][HDOfferCash], HotDogUG[iIndex][HDSafe], HotDogUG[iIndex][HDItem], HotDogUG[iIndex][HDcp], HotDogUG[iIndex][hdExterior][0], HotDogUG[iIndex][hdExterior][1], HotDogUG[iIndex][hdExterior][2], HotDogUG[iIndex][hdExterior][3], HotDogUG[iIndex][HDTextID] ); fwrite(fHandle, szFileStr); } return fclose(fHandle); } |