Dialog list as 24/7 when press cancel takes money
#3

Код:
if(response==1)
0 would be your Cancel Button if I'm not mistaken
(So this would only execute if the player has use response 1 (Purchase Button)

But the reason its taking away money & purchasing the item regardless is because the list item is selected when players hit the cancel button, the response check will help determine which button the player has pressed...
Reply


Messages In This Thread
Dialog list as 24/7 when press cancel takes money - by slymatt - 20.07.2011, 04:42
Re: Dialog list as 24/7 when press cancel takes money - by PotH3Ad - 20.07.2011, 04:49
Re: Dialog list as 24/7 when press cancel takes money - by XGh0stz - 20.07.2011, 06:00
Re: Dialog list as 24/7 when press cancel takes money - by slymatt - 20.07.2011, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)