Skip to content

Commit

Permalink
Fix Menu Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Headline committed Aug 10, 2017
1 parent 3c6877d commit 8868ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hl_gangs.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ public void SQLCallback_Perks(Database db, DBResultSet results, const char[] err
if (!gcv_bDisableSize.BoolValue && gcv_iMaxGangSize.IntValue != 0)
{
price = gcv_iSizePrice.IntValue + (gcv_iPriceModifier.IntValue * ga_iSize[client]);
Format(sDisplayBuffer, sizeof(sDisplayBuffer), "%T [%i/9] [%i %T]", "GangSize", client, ga_iSize[client], price, "Credits", client);
Format(sDisplayBuffer, sizeof(sDisplayBuffer), "%T [%i/%i] [%i %T]", "GangSize", client, ga_iSize[client], gcv_iGangSizeMaxUpgrades.IntValue, price, "Credits", client);
menu.AddItem("size", sDisplayBuffer, (ga_iSize[client] >= gcv_iGangSizeMaxUpgrades.IntValue || GetClientCredits(client) < price)?ITEMDRAW_DISABLED:ITEMDRAW_DEFAULT);
}

Expand Down

0 comments on commit 8868ff3

Please sign in to comment.