30.03.2014, 04:29
Alright, this system works fine and everything it saves the cordinates and stuff, but how can I get it to load on gamemodeinit?
Код:
//==========// format(string, sizeof(string), "housefurniture/%d.ini", key); if(DOF2_FileExists(string)) { new string2[50]; format(string2, 50, "Furn%d", h); DOF2_SetInt(string, string2, h); format(string2, 50, "Furn%dObj", h); DOF2_SetInt(string, string2, objectid); format(string2, 50, "Furn%dX", h); DOF2_SetFloat(string, string2, X); format(string2, 50, "Furn%dY", h); DOF2_SetFloat(string, string2, Y); format(string2, 50, "Furn%dZ", h); DOF2_SetFloat(string, string2, Z); format(string2, 50, "Furn%dA", h); DOF2_SetFloat(string, string2, rotz); format(string2, 50, "Furn%dInt", h); DOF2_SetInt(string, string2, GetPlayerInterior(playerid)); } return true; } }