01.04.2020, 21:19
(
Last edited by Chaprnks; 01/04/2020 at 10:24 PM.
)
I seem to have an odd bug to report with this script. When purchasing multiple items, it only processes the first item in the shopping cart. It doesn't process the other items & doesn't add them to the total amount of cash taken from the player.
EDIT:
Fixed it. The issue was calling MenuStore_Close(playerid); on the Store: callback. Looking through the code, i found out that the menu store already closes itself in the include, and doing a double call on Menu_StoreClose caused the issue.
EDIT:
Fixed it. The issue was calling MenuStore_Close(playerid); on the Store: callback. Looking through the code, i found out that the menu store already closes itself in the include, and doing a double call on Menu_StoreClose caused the issue.