07.06.2013, 13:07
Oeps this was from a dutch topic were they said i had to do this:
But i have i like this:
So the _%s is not in my GM.
And no im not loading it for a player.
Look,
I have /adjustrankname
Wich puts the name into a enum
And my SaveFactions() write's the enum into .ini file.
Wich is supposed to load on OnGameModeInit. So it can go back into enum
And load for example /stats Division: Rank:, or /radio Rank PlayerName: Text.
Thats what is supposed to do.
Everything works until it's loading on GameModeInit. It saves perfectly. It just doesn't load.
pawn Код:
INI_ParseFile("factions/lspd.INI", "loadfactions_%s", .bExtra = false);
pawn Код:
INI_ParseFile("factions/lspd.INI", "load_factions", .bExtra = false);
And no im not loading it for a player.
Look,
I have /adjustrankname
Wich puts the name into a enum
And my SaveFactions() write's the enum into .ini file.
Wich is supposed to load on OnGameModeInit. So it can go back into enum
And load for example /stats Division: Rank:, or /radio Rank PlayerName: Text.
Thats what is supposed to do.
Everything works until it's loading on GameModeInit. It saves perfectly. It just doesn't load.