20.12.2012, 15:01
Well, This doesn't work. Is there another way to doing this?
pawn Код:
new INI:File = INI_Open("Houses/%d.ini", houseid);
INI_SetTag(File, "House's Data");
INI_WriteInt(File, "Owner", HouseInfo[houseid][hOwner]);
INI_WriteInt(File, "Status", HouseInfo[houseid][hStatus]);
INI_WriteInt(File, "Price", HouseInfo[houseid][hPrice]);
INI_WriteInt(File, "Pickup", HouseInfo[houseid][hPickup]);
INI_WriteInt(File, "Interior", HouseInfo[houseid][hInterior]);
INI_WriteInt(File, "VirtualWorld", HouseInfo[houseid][hVirtualWorld]);
INI_WriteInt(File, "Locked", HouseInfo[houseid][hLocked]);
INI_WriteFloat(File, "EnterX", HouseInfo[houseid][hEnterX]);
INI_WriteFloat(File, "EnterY", HouseInfo[houseid][hEnterY]);
INI_WriteFloat(File, "EnterZ", HouseInfo[houseid][hEnterZ]);
INI_WriteFloat(File, "ExitX", HouseInfo[houseid][hExitX]);
INI_WriteFloat(File, "ExitY", HouseInfo[houseid][hExitY]);
INI_WriteFloat(File, "ExitZ", HouseInfo[houseid][hExitZ]);
INI_Close(File);