INI_ParseFIle not working? [Rep+4]
#10

It was included in the first post of the thread.
pawn Код:
forward LoadHouse_data(houseid,name[],value[]);
public LoadHouse_data(houseid,name[],value[])
{    
    INI_String("HouseName",House[houseid][Name], 50);    
    printf("House id %d Name loaded", houseid); //Debug    
    INI_Float("X",House[houseid][PosX]);    
    INI_Float("Y",House[houseid][PosY]);    
    INI_Float("Z",House[houseid][PosZ]);    
    INI_Int("Owned",House[houseid][Owned]);    
    INI_String("OwnerName",House[houseid][OwnerName], 50);    
    INI_String("Key1",House[houseid][Key1], 50);    
    INI_String("Key2",House[houseid][Key2], 50);    
    INI_String("Key3",House[houseid][Key3], 50);    
    return 1;
}
How would I make sure it loads properly using INI_ParseFile?
Reply


Messages In This Thread
INI_ParseFIle not working? - by clarencecuzz - 24.09.2012, 06:26
Re: INI_ParseFIle not working? [Rep+4] - by Jarnu - 24.09.2012, 08:51
Re: INI_ParseFIle not working? [Rep+4] - by Jarnu - 24.09.2012, 09:03
Re: INI_ParseFIle not working? [Rep+4] - by antonio112 - 24.09.2012, 09:13
Re: INI_ParseFIle not working? [Rep+4] - by clarencecuzz - 24.09.2012, 09:54
Re: INI_ParseFIle not working? [Rep+4] - by antonio112 - 24.09.2012, 11:10
Re: INI_ParseFIle not working? [Rep+4] - by clarencecuzz - 24.09.2012, 11:23
Re: INI_ParseFIle not working? [Rep+4] - by antonio112 - 24.09.2012, 20:42
Re: INI_ParseFIle not working? [Rep+4] - by clarencecuzz - 25.09.2012, 06:54
Re: INI_ParseFIle not working? [Rep+4] - by clarencecuzz - 25.09.2012, 07:32

Forum Jump:


Users browsing this thread: 1 Guest(s)