17.06.2009, 18:04
Hi,
I have tried to homes to make virtual worlds. But when I "OnPropupdate" this was purely done, "Houseinfo[idx] [hVir]);" I got the following error's:
;
I hope someone can help me.
Yours sincerely,
Salva!
I have tried to homes to make virtual worlds. But when I "OnPropupdate" this was purely done, "Houseinfo[idx] [hVir]);" I got the following error's:
Код:
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][hVir]); HouseInfo[idx][hVir] = idx; if(idx == 0) { file2 = fopen("property.cfg", io_write); } else { file2 = fopen("property.cfg", io_append); } fwrite(file2, coordsstring); idx++; fclose(file2)
I hope someone can help me.
Yours sincerely,
Salva!