Linux problem
#8

I have that

Quote:

LoadHouses() {

if(!fexist("apartments.cfg")) return 1;

new
szFileStr[1024],
File: iFileHandle = fopen("apartments.cfg", io_read),
iIndex;

while(iIndex < sizeof(HouseInfo) && fread(iFileHandle, szFileStr)) {
sscanf(szFileStr, "p<|>iiis[128]s[24]ffffffffiiiiiiiiiiiiiiiiiiffiiiiiiiiiii",

It started after i changed house config file.

Quote:

SaveHouses() {

new
szFileStr[1024],
File: fHandle = fopen("apartments.cfg", io_write);

for(new iIndex; iIndex < MAX_HOUSES; iIndex++) {
format(szFileStr, sizeof(szFileStr), "%d|%d|%d|%s|%s|%f|%f|%f|%f|%f|%f|%f|%f|%d|%d|%d|% d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%f|%f| %d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d\r\n",

Config line
Quote:

0|0|0||Nobody|0.000000|0.000000|-500.000000|0.000000|0.000000|0.000000|0.000000|0.0 00000|1|0|0|0|0|0|0|0|0|0|0|0|0|1|1582|1162|0|0|0. 000000|0.000000|0|0|0|0|0|0|0|0|0|0|0

Reply


Messages In This Thread
Linux problem - by FaZeRs - 23.03.2014, 13:42
Re: Linux problem - by Konstantinos - 23.03.2014, 13:44
Re: Linux problem - by FaZeRs - 23.03.2014, 13:50
Re: Linux problem - by Konstantinos - 23.03.2014, 14:05
Re: Linux problem - by FaZeRs - 23.03.2014, 17:57
Re: Linux problem - by Arjanz - 23.03.2014, 18:00
Re: Linux problem - by Konstantinos - 23.03.2014, 18:02
Re: Linux problem - by FaZeRs - 23.03.2014, 18:58
Re: Linux problem - by Konstantinos - 23.03.2014, 19:07
Re: Linux problem - by FaZeRs - 23.03.2014, 21:57

Forum Jump:


Users browsing this thread: 3 Guest(s)