01.07.2015, 19:06
Hello, i'm trying to load some objects using y_ini..which is saved to a file using y_ini.. however when i'm loading them and creating them, they doesn't apear in-game. (However values are there in the file)
The Loading:
Help me fix this so they will be loaded right.
The Loading:
Код:
INI_Load("Objects.ini"); for(new idx = 1; idx < sizeof(ObjInfo); idx++) { if(ObjInfo[idx][oModel]) { ObjInfo[idx][obj] = CreateDynamicObject(ObjInfo[idx][oModel], ObjInfo[idx][oX], ObjInfo[idx][oY], ObjInfo[idx][oZ], ObjInfo[idx][oRX], ObjInfo[idx][oRY], ObjInfo[idx][oRZ]); } }