fix market cap issue

This commit is contained in:
Lorenc Pekaj 2018-11-07 12:21:47 +11:00
parent c4542f41aa
commit 78a597d606

View File

@ -170,7 +170,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
case 2:
{
new
Float: market_cap = g_stockMarketReportData[ stockid ] [ 1 ] [ E_PRICE ] * g_stockMarketData[ stockid ] [ E_MAX_SHARES ] / 100000.0;
Float: market_cap = g_stockMarketReportData[ stockid ] [ 1 ] [ E_PRICE ] * g_stockMarketData[ stockid ] [ E_MAX_SHARES ] / 1000000.0;
format(
szLargeString, sizeof ( szLargeString ),