INI_ParseFile loads tons of vehicles
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
I suspect you may be using the callback wrong (but it is difficult to tell without seeing any code). The callback is called once per value in your file, and ends the moment that value has been loaded. This means that any creation code in the loading callback MAY be executed multiple times, but also may never be executed if it comes after all the "INI_X" lines.
Sweet! I took the creation code and I put it after the parsing file its all good now. thank you for suggesting me about callback, now i will use it only for values.
Reply


Messages In This Thread
INI_ParseFile loads tons of vehicles - by maximthepain - 28.04.2014, 09:19
Re: INI_ParseFile loads tons of vehicles - by NovaGaming - 28.04.2014, 09:26
Re: INI_ParseFile loads tons of vehicles - by maximthepain - 28.04.2014, 09:39
Re: INI_ParseFile loads tons of vehicles - by maximthepain - 28.04.2014, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)