Slight issue with Y_INI. Working, but messed up in the ini file
#6

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:

pawn Код:
CarInfo[idx][cComponent12] = INI_Int(clfile,"Component12");
Should be:

pawn Код:
INI_Int("Component12",CarInfo[idx][cComponent12]);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)