- 0
Problema property.cfg bizz.cfg sbizz.cfg
-
Similar Content
-
- 0 answers
- 21 views
-
- 0 replies
- 31 views
-
- 3 answers
- 78 views
-
- 5 answers
- 64 views
-
- 1 reply
- 28 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
AndrewTG01
Problema intalnita (descriere): La mine la property.cfg bizz.cfg sbizz.cfg sunt toate casele,biz-urile creeate in sir indian adica nu sunt pune unele sub altele
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):
while (idx < sizeof(HouseInfo)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring), "%f,%f,%f,%f,%f,%f,%d,%d,%d,%d,%d,%d,%s,%s,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d\n", HouseInfo[idx][hEntrancex], HouseInfo[idx][hEntrancey], HouseInfo[idx][hEntrancez], HouseInfo[idx][hExitx], HouseInfo[idx][hExity], HouseInfo[idx][hExitz], HouseInfo[idx][hHealthx], HouseInfo[idx][hHealthy], HouseInfo[idx][hHealthz], HouseInfo[idx][hArmourx], HouseInfo[idx][hArmoury], HouseInfo[idx][hArmourz], HouseInfo[idx][hOwner], HouseInfo[idx][hDiscription], HouseInfo[idx][hValue], HouseInfo[idx][hHel], HouseInfo[idx][hArm], HouseInfo[idx][hInt], HouseInfo[idx][hLock], HouseInfo[idx][hOwned], HouseInfo[idx][hRooms], HouseInfo[idx][hRent], HouseInfo[idx][hRentabil], HouseInfo[idx][hTakings], HouseInfo[idx][hVec], HouseInfo[idx][hVcol1], HouseInfo[idx][hVcol2], HouseInfo[idx][hDate], HouseInfo[idx][hLevel], HouseInfo[idx][hVW]); HouseInfo[idx][hVW] = idx; if(idx == 0) { file2 = fopen("Properties/property.cfg", io_write); } else { file2 = fopen("Properties/property.cfg", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2); } idx = 0; while (idx < sizeof(BizzInfo)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d\n", BizzInfo[idx][bOwned], BizzInfo[idx][bOwner], BizzInfo[idx][bMessage], BizzInfo[idx][bExtortion], BizzInfo[idx][bEntranceX], BizzInfo[idx][bEntranceY], BizzInfo[idx][bEntranceZ], BizzInfo[idx][bExitX], BizzInfo[idx][bExitY], BizzInfo[idx][bExitZ], BizzInfo[idx][bLevelNeeded], BizzInfo[idx][bBuyPrice], BizzInfo[idx][bEntranceCost], BizzInfo[idx][bTill], BizzInfo[idx][bLocked], BizzInfo[idx][bInterior], BizzInfo[idx][bPriceProd]); if(idx == 0) { file2 = fopen("Properties/bizz.cfg", io_write); } else { file2 = fopen("Properties/bizz.cfg", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2); } idx = 0; while (idx < sizeof(SBizzInfo)) { new coordsstring[256]; format(coordsstring, sizeof(coordsstring), "%d|%s|%s|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d\n", SBizzInfo[idx][sbOwned], SBizzInfo[idx][sbOwner], SBizzInfo[idx][sbMessage], SBizzInfo[idx][sbExtortion], SBizzInfo[idx][sbEntranceX], SBizzInfo[idx][sbEntranceY], SBizzInfo[idx][sbEntranceZ], SBizzInfo[idx][sbLevelNeeded], SBizzInfo[idx][sbBuyPrice], SBizzInfo[idx][sbEntranceCost], SBizzInfo[idx][sbTill], SBizzInfo[idx][sbLocked], SBizzInfo[idx][sbInterior], SBizzInfo[idx][sbPriceProd]); if(idx == 0) { file2 = fopen("Properties/sbizz.cfg", io_write); } else { file2 = fopen("Properties/sbizz.cfg", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2); }
Imagini / Video (optional): Cum arata :
Cum vreau sa arate:
Ati incercat sa rezolvati singur?: Da
Link to comment
Share on other sites
3 answers to this question
Recommended Posts