Loading doors..
#1

I've created a few saving/loading system for various things on my game mode, but only a few of them get called. I tested this using "printf":

Here is the loading of my house system (Which loads):
pawn Код:
for(new i = 0; i <= MAX_HOUSE; i++)
    {
        new gFile[35];
        format(gFile, 35, House_File ,i);
        INI_ParseFile(gFile, "LoadHouse", .bExtra = true, .extra = i);
        ReadHouse(i);
    }
And here is the door system (Which doesn't load):

pawn Код:
for(new i = 0; i <= MAX_DOORS; i++)
    {
        print( "Doors OnGameModeInit" );
        new ddFile[128];
        format(ddFile, 128, "/DynamicSystem/%d.ini" ,i);
        INI_ParseFile(ddFile, "LoadDoors", .bExtra = true, .extra = i);
        ReadDoors(i);
    }
I was thinking for ages trying to find out why my door system wasn't loading, it uses the same loading/saving as the house system though Y_INI, but it doesn't load, I added the "printf" and noticed that it doesn't show up, but on the house loading it does. Can anyone explain why it doesn't work? I'm confused..
Reply


Messages In This Thread
Loading doors.. - by ryansheilds - 04.04.2012, 20:32
Re: Loading doors.. - by jaheem - 04.04.2012, 22:16
Re: Loading doors.. - by ryansheilds - 04.04.2012, 22:29
Re: Loading doors.. - by TzAkS. - 04.04.2012, 22:30
Re: Loading doors.. - by ryansheilds - 04.04.2012, 22:37
Re: Loading doors.. - by Toreno - 04.04.2012, 22:42
Re: Loading doors.. - by ryansheilds - 04.04.2012, 22:45
Re: Loading doors.. - by Toreno - 04.04.2012, 23:05
Re: Loading doors.. - by ryansheilds - 05.04.2012, 00:11
Re: Loading doors.. - by Toreno - 05.04.2012, 09:20

Forum Jump:


Users browsing this thread: 1 Guest(s)