From 0682e46559d54742b0219ba75defdb9c4e22a8c7 Mon Sep 17 00:00:00 2001 From: Stev Date: Sat, 19 Jan 2019 13:18:18 +0000 Subject: [PATCH] increasing business production dialog --- gamemodes/irresistible/cnr/features/business/business.pwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gamemodes/irresistible/cnr/features/business/business.pwn b/gamemodes/irresistible/cnr/features/business/business.pwn index de0c59e..f3dd31f 100644 --- a/gamemodes/irresistible/cnr/features/business/business.pwn +++ b/gamemodes/irresistible/cnr/features/business/business.pwn @@ -411,12 +411,12 @@ CMD:business( playerid, params[ ] ) new bool: has = false; - szLargeString = ""COL_WHITE"Name\t"COL_WHITE"Production Time\t"COL_WHITE"Product\t"COL_WHITE"Bank\n"; + szHugeString = ""COL_WHITE"Name\t"COL_WHITE"Production Time\t"COL_WHITE"Product\t"COL_WHITE"Bank\n"; foreach ( new businessid : business ) if ( IsBusinessAssociate( playerid, businessid ) ) { - format( szLargeString, sizeof( szLargeString ), "%s%s\t%s\t"COL_GOLD"%s\t"COL_GREEN"%s\n", - szLargeString, g_businessData[ businessid ] [ E_NAME ], + format( szHugeString, sizeof( szHugeString ), "%s%s\t%s\t"COL_GOLD"%s\t"COL_GREEN"%s\n", + szHugeString, g_businessData[ businessid ] [ E_NAME ], g_businessData[ businessid ] [ E_PROD_TIMESTAMP ] ? ( secondstotime( g_businessData[ businessid ] [ E_PROD_TIMESTAMP ], ", ", 5 ) ) : ( ""COL_GREEN"Production Finished" ), g_businessData[ businessid ] [ E_PRODUCT ] == 0 ? ( ""COL_RED"No Product" ) : ( cash_format( g_businessData[ businessid ] [ E_PRODUCT ] * GetProductPrice( businessid ) ) ), cash_format( g_businessData[ businessid ][ E_BANK ] ) @@ -426,7 +426,7 @@ CMD:business( playerid, params[ ] ) if ( ! has ) { return SendError( playerid, "You cannot use this command since you don't own any businesses." ); } else { - return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_TABLIST_HEADERS, ""COL_WHITE"Business Production", szLargeString, "Close", "" ); + return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_TABLIST_HEADERS, ""COL_WHITE"Business Production", szHugeString, "Close", "" ); } } else if ( strmatch( params, "spawn" ))