Jump to content

[SOLVED] how to stop a script?


berry05

Recommended Posts

ok quick question..i looked all over for this...quick question.. i have a if else statement but i need to know how to stop it..i want it to see if user has enough gold and if not the else is nothing....and then it checks if user has already bought one and if not  it buys it for the user..i did this and when i buy a hoe with not enough money it says "you dont have enough money" but still buys the hoe..thats because it still goes through the script..i need it stopped if the "if" statement is true for not enough gold.. anyone have any suggestions?

Link to comment
https://forums.phpfreaks.com/topic/137423-solved-how-to-stop-a-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.