16.10.2010, 09:15
when i shutdown the server, i want it to save all properties
The functions work allright, tested. But this doesnt work!
Код:
public OnGameModeExit() { foreach(Business, f) { SavePlayerFactory(f); } foreach(Business, b) { SavePlayerBusiness(b); } foreach(House, h) { SavePlayerHouse(h); } return 1; }