compile error and add back in pool
This commit is contained in:
parent
4c93b2e888
commit
1c70a050e3
@ -33,4 +33,4 @@
|
|||||||
// #include "irresistible\cnr\features\eastereggs.pwn"
|
// #include "irresistible\cnr\features\eastereggs.pwn"
|
||||||
|
|
||||||
// pool
|
// pool
|
||||||
// #include "irresistible\cnr\features\pool.pwn"
|
#include "irresistible\cnr\features\pool.pwn"
|
||||||
|
@ -236,6 +236,7 @@ thread HouseListing_OnBuyHome( playerid, house_listing_id )
|
|||||||
|
|
||||||
// credit seller if they are on/offline
|
// credit seller if they are on/offline
|
||||||
new
|
new
|
||||||
|
houseid = cache_get_field_content_int( 0, "HOUSE_ID" ),
|
||||||
sellerid;
|
sellerid;
|
||||||
|
|
||||||
foreach ( sellerid : Player ) if ( GetPlayerAccountID( sellerid ) == owner_account_id ) {
|
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 ) );
|
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
|
// 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 ) );
|
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 ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user