[Include] MenuStore (Build dynamic stores with TextDraws)
#33

Quote:
Originally Posted by CaioTJF
View Post
MenuStore.inc
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.
Reply


Messages In This Thread
MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 16.11.2017, 15:40
Re: MenuStore (Build dynamic stores with TextDraws) - by Eoussama - 16.11.2017, 15:44
Re: MenuStore (Build dynamic stores with TextDraws) - by Pottus - 16.11.2017, 15:50
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 16.11.2017, 16:04
Re: MenuStore (Build dynamic stores with TextDraws) - by ExTaZZ69 - 16.11.2017, 16:11
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 16.11.2017, 16:26
Re: MenuStore (Build dynamic stores with TextDraws) - by HydraHumza - 16.11.2017, 17:29
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 17.11.2017, 17:18
Re: MenuStore (Build dynamic stores with TextDraws) - by PT - 17.11.2017, 18:18
Re: MenuStore (Build dynamic stores with TextDraws) - by Xeon™ - 17.11.2017, 21:57
Re: MenuStore (Build dynamic stores with TextDraws) - by nG Inverse - 17.11.2017, 22:06
Re: MenuStore (Build dynamic stores with TextDraws) - by Pottus - 18.11.2017, 16:53
Re: MenuStore (Build dynamic stores with TextDraws) - by cuber - 18.11.2017, 16:58
Re: MenuStore (Build dynamic stores with TextDraws) - by Xeon™ - 19.11.2017, 15:59
Re: MenuStore (Build dynamic stores with TextDraws) - by DanDRT - 19.11.2017, 19:58
Re: MenuStore (Build dynamic stores with TextDraws) - by xiaoniao - 21.11.2017, 01:54
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 21.11.2017, 17:42
Re: MenuStore (Build dynamic stores with TextDraws) - by Sellize - 01.12.2017, 10:10
Re: MenuStore (Build dynamic stores with TextDraws) - by Gforcez - 01.12.2017, 11:08
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 01.12.2017, 15:05
Re: MenuStore (Build dynamic stores with TextDraws) - by drawax - 25.02.2018, 18:59
Re: MenuStore (Build dynamic stores with TextDraws) - by GSFBart - 01.05.2018, 19:00
Re: MenuStore (Build dynamic stores with TextDraws) - by PowerMwK - 29.11.2018, 21:37
Re: MenuStore (Build dynamic stores with TextDraws) - by TheLeech - 20.01.2019, 11:31
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 28.01.2019, 03:36
Re: MenuStore (Build dynamic stores with TextDraws) - by TheLeech - 01.02.2019, 19:24
Re: MenuStore (Build dynamic stores with TextDraws) - by JeSuisUnChat - 02.02.2019, 08:13
Re: MenuStore (Build dynamic stores with TextDraws) - by Saddin - 02.02.2019, 10:53
Re: MenuStore (Build dynamic stores with TextDraws) - by Vallenci - 07.02.2019, 03:42
Re: MenuStore (Build dynamic stores with TextDraws) - by Kasichok - 07.02.2019, 11:55
Re: MenuStore (Build dynamic stores with TextDraws) - by dannypanda05 - 08.04.2019, 01:52
Re: MenuStore (Build dynamic stores with TextDraws) - by RenanMsV - 08.04.2019, 05:18
Re: MenuStore (Build dynamic stores with TextDraws) - by Chaprnks - 01.04.2020, 21:19
Re: MenuStore (Build dynamic stores with TextDraws) - by JesterlJoker - 26.04.2020, 15:10
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 27.04.2020, 01:28
Re: MenuStore (Build dynamic stores with TextDraws) - by Sasino97 - 08.05.2020, 06:22
Re: MenuStore (Build dynamic stores with TextDraws) - by PrednizoN - 12.05.2020, 07:01
Re: MenuStore (Build dynamic stores with TextDraws) - by jasperschellekens - 15.05.2020, 21:53
Re: MenuStore (Build dynamic stores with TextDraws) - by jasperschellekens - 16.05.2020, 14:49
Re: MenuStore (Build dynamic stores with TextDraws) - by CaioTJF - 16.05.2020, 18:21
Re: MenuStore (Build dynamic stores with TextDraws) - by hopeonxanny - 12.07.2020, 15:43
Re: MenuStore (Build dynamic stores with TextDraws) - by Lexless - 12.07.2020, 16:16
Re: MenuStore (Build dynamic stores with TextDraws) - by hopeonxanny - 12.07.2020, 17:13
Re: MenuStore (Build dynamic stores with TextDraws) - by Lexless - 12.07.2020, 18:58

Forum Jump:


Users browsing this thread: 1 Guest(s)