13.05.2016, 12:29
pawn Код:
// global:
new gLoaded_Houses;
// when houses are loaded (in each iteration that a house is stored to the array "House"):
gLoaded_Houses++;
// any other loop after the houses have been loaded (stored to variables):
for(new h; h < gLoaded_Houses; h++)
// if you have command to create house and it is created successfully:
gLoaded_Houses++;
// if you have command to delete house and it is deleted successfully:
gLoaded_Houses--;