Loading Issues - Y_INI
#6

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
Change this:

pawn Код:
INI_ParseFile(StationPath(s), "LoadStationData", false, true, s, true, false);
To this:

pawn Код:
INI_ParseFile(file, "LoadVehicleData", .bExtra = true, .extra = s);
And then add this somewhere in your mode:

pawn Код:
forward LoadVehicleData(stationid, name[], value[]);
public LoadVehicleData(stationid, name[], value[])
{
    INI_String("XMName", XMRInfo[stationid][XMName], MAX_PLAYER_NAME);
    INI_String("XMStation", XMRInfo[stationid][XMStation], 96);
}
I don't really know how to use y_ini so it may or may not work.
Works fine!
Reply


Messages In This Thread
Loading Issues - Y_INI - by shocktheripper - 19.06.2015, 00:09
Re: Loading Issues - Y_INI - by Kenway - 19.06.2015, 00:18
Re: Loading Issues - Y_INI - by shocktheripper - 19.06.2015, 00:34
Re: Loading Issues - Y_INI - by shocktheripper - 19.06.2015, 22:40
Re: Loading Issues - Y_INI - by Emmet_ - 19.06.2015, 23:22
Re: Loading Issues - Y_INI - by shocktheripper - 20.06.2015, 10:48

Forum Jump:


Users browsing this thread: 4 Guest(s)