Jump to content



Recommended Posts

Alright let me first say that I have done searched for almost an hr trying to find what I'm about to ask so please spare me the "use the search function" & if somehow by the grace of God I overlooked it I'm sorry.

I'm doing crimes and everything is A ok except for the part where the user fails, it will say they are in jail but yet they are still able to attempt the crime even though it says your in jail. I'm clueless as to why its still letting them continue even after failing.

Could someone please tell me what the problem might be?

Thank You Kindly

Link to comment
Share on other sites

Re: Question

just put this at the top of any page you don't want a user to access while they are in the hosp or jail


if($ir['jail'] or $ir['hospital']) {
echo("This page cannot be accessed while in jail or hospital.");
Link to comment
Share on other sites

Re: Question

I've tried it but, one would still beable to continue doing that crime just by hitting the refresh button.

Removed the try again option but like I said all they have to do is hit refresh and they can go on.

Thank You for trying to help though :-)

EDIT: I found where the trouble was thanks anyways Tonka :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...