diff --git a/gamemodes/irresistible/cnr/features/hotel_da_novic.pwn b/gamemodes/irresistible/cnr/features/hotel_da_novic.pwn index cbd4e6d..fe751d0 100644 --- a/gamemodes/irresistible/cnr/features/hotel_da_novic.pwn +++ b/gamemodes/irresistible/cnr/features/hotel_da_novic.pwn @@ -31,6 +31,9 @@ static stock /* ** Hooks ** */ hook OnScriptInit( ) { + // Load apartments + mysql_function_query( dbHandle, "SELECT * FROM `APARTMENTS`", true, "NovicHotel_Load", "" ); + // Apartments CreateDynamicObject( 4587, -1971.51, 1356.26, 65.32, 0.00, 0.00, -180.00, .priority = 1 ); CreateDynamicObject( 3781, -1971.50, 1356.27, 28.26, 0.00, 0.00, -180.00, .priority = 1 ); @@ -271,7 +274,7 @@ hook OnDynamicObjectMoved( objectid ) } /* ** SQL Threads ** */ -thread OnApartmentLoad( ) +thread NovicHotel_Load( ) { new rows, fields, i = -1, aID, diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index 85ba883..19a8a69 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -439,7 +439,7 @@ public OnGameModeInit() // mysql_function_query( dbHandle, "SELECT * FROM `HOUSES`", true, "OnHouseLoad", "" ); // mysql_function_query( dbHandle, "SELECT * FROM `BRIBES`", true, "OnBribeLoad", "" ); - mysql_function_query( dbHandle, "SELECT * FROM `APARTMENTS`", true, "OnApartmentLoad", "" ); + //mysql_function_query( dbHandle, "SELECT * FROM `APARTMENTS`", true, "OnApartmentLoad", "" ); // mysql_function_query( dbHandle, "SELECT * FROM `FURNITURE`", true, "OnFurnitureLoad", "" ); //mysql_function_query( dbHandle, "SELECT * FROM `GATES`", true, "OnGatesLoad", "" ); //mysql_function_query( dbHandle, "SELECT * FROM `ENTRANCES`", true, "OnEntrancesLoad", "" );