diff --git a/gamemodes/irresistible/cnr/features/_features.pwn b/gamemodes/irresistible/cnr/features/_features.pwn index 8a09567..6ea9c75 100644 --- a/gamemodes/irresistible/cnr/features/_features.pwn +++ b/gamemodes/irresistible/cnr/features/_features.pwn @@ -33,4 +33,4 @@ // #include "irresistible\cnr\features\eastereggs.pwn" // pool -// #include "irresistible\cnr\features\pool.pwn" +#include "irresistible\cnr\features\pool.pwn" diff --git a/gamemodes/irresistible/cnr/features/houses/realestate.pwn b/gamemodes/irresistible/cnr/features/houses/realestate.pwn index 6ef9148..ee7302e 100644 --- a/gamemodes/irresistible/cnr/features/houses/realestate.pwn +++ b/gamemodes/irresistible/cnr/features/houses/realestate.pwn @@ -236,6 +236,7 @@ thread HouseListing_OnBuyHome( playerid, house_listing_id ) // credit seller if they are on/offline new + houseid = cache_get_field_content_int( 0, "HOUSE_ID" ), sellerid; foreach ( sellerid : Player ) if ( GetPlayerAccountID( sellerid ) == owner_account_id ) { @@ -251,8 +252,6 @@ thread HouseListing_OnBuyHome( playerid, house_listing_id ) mysql_single_query( sprintf( "UPDATE `USERS` SET `COINS` = `COINS` + %f WHERE `ID` = %d", ask_price, owner_account_id ) ); } - new - houseid = cache_get_field_content_int( 0, "HOUSE_ID" ); // show sellers name & house name SendServerMessage( playerid, "You have successfully bought %s's home (%s"COL_WHITE") for "COL_GOLD"%s IC"COL_WHITE"!", g_houseData[ houseid ] [ E_OWNER ], g_houseData[ houseid ] [ E_HOUSE_NAME ], number_format( ask_price, .decimals = 2 ) );