20.06.2014, 16:10
Did you read my signature?
HouseInfo[houseid][hPickup] = CreateDynamicPickup(1273, 1, HouseInfo[houseid][hEnterX], HouseInfo[houseid][hEnterY], HouseInfo[houseid][hEnterZ], HouseInfo[houseid][hOutsideVir], HouseInfo[houseid][hOutsideInt]);
I might've missed it, but where would you put the LoadHouse stock so that the houses load? Also, I'm using y_ini instead of dini and replaced most of the saving/loading functions, but I'm not sure if that changes how to load it.
|
public OnGameModeInit()
{
for (new i = 0; i < 500; i++) //That would be max. 500 houses
{
if (!fexist(HOUSEFILE)) continue; //If the house was never saved yet ('House file' doesn't exist), continue to next loop
LoadHouse(i); //Load the house..
}
}