Script Problem Solved
Posted: 28 Aug 2016, 1:10
Guys I'm real sorry if this is a awful question but...On my Shop,I need to make a Mushroom appear if player has more than one Coin,but if he has less,show a message...But even if you have more coins,the message show.
Here's the Scripts I'm using:
What I'm doing wrong?
Here's the Scripts I'm using:
- Spoiler
- If gval(Coins) >= 1 Then
Call NCreate(9,char(1).X,char(1).Y,0,0,0,0)
gval(Coins)=gval(Coins)-1
If gval(Coins) <= 1 Then
Call ShowMSG("But you don't have enough...")
End if
What I'm doing wrong?
