Skip to content

Commit

Permalink
Show full inventory hint for ammo
Browse files Browse the repository at this point in the history
  • Loading branch information
dysphie committed Jan 25, 2022
1 parent 7b57670 commit c6bc590
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripting/nmrih-backpack2.sp
Expand Up @@ -716,7 +716,9 @@ enum struct Backpack
}

int leftoverWeight = inv_maxcarry.IntValue - GetCarriedWeight(client);
if (leftoverWeight <= 0) {
if (leftoverWeight <= 0)
{
PrintCenterText(client, "%t", "No Inventory Space");
return false;
}

Expand Down

0 comments on commit c6bc590

Please sign in to comment.