31.08.2013, 02:40
You don't assign variables to Y_INI Functions. Y_INI passes the data to the specified variable, which is:
INI_String(name[], variable, length)
INI_Int(name[], variable)
So this:
Should be:
INI_String(name[], variable, length)
INI_Int(name[], variable)
So this:
pawn Код:
CarInfo[idx][cComponent12] = INI_Int(clfile,"Component12");
pawn Код:
INI_Int("Component12",CarInfo[idx][cComponent12]);