19.06.2015, 23:22
Change this:
To this:
And then add this somewhere in your mode:
I don't really know how to use y_ini so it may or may not work.
pawn Код:
INI_ParseFile(StationPath(s), "LoadStationData", false, true, s, true, false);
pawn Код:
INI_ParseFile(file, "LoadVehicleData", .bExtra = true, .extra = s);
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);
}