NetSchemes RPG Posted January 5, 2011 Posted January 5, 2011 Hey all. I've searched all over the forums here, and can't seem to find anyone with a similar problem... my players are telling me that, while currently in the hospital, they can bust other players who are in Jail... did I screw up my codes somehow, or has anyone else experienced this? Thanks in advance for any help anyone can lend. Quote
Dominion Posted January 5, 2011 Posted January 5, 2011 Just find the bust function (or file if it's not part of jail.php), and check if the user viewing is in jail/hospital. an if() would work fine. Quote
NetSchemes RPG Posted January 5, 2011 Author Posted January 5, 2011 Thanks for the, "Let's confuse the crap outta the noob" answer... LMAO j/k Thanks, I'll keep looking at my codes/pages. Quote
Djkanna Posted January 5, 2011 Posted January 5, 2011 if ($ir['hospital'] || $ir['jail']) { echo 'You cannot bust someone out of Jail while in jail or the hospital'; $h->endpage(); exit; } Quote
Lilith Posted January 6, 2011 Posted January 6, 2011 hahaha, I love it, can you tell that DJK has been helping me out once in a while ? Its like break out the red crayons and explain it to Lilith. " Thanks for the, "Let's confuse the crap outta the noob" answer... LMAO " Im so stealing your line NS! Quote
NetSchemes RPG Posted January 6, 2011 Author Posted January 6, 2011 Thanks for the help, Dominion and DJkanna! ...and especially to Curt too for taking the time to explain in more detail! I love learning this stuff! :thumbsup: Go ahead and steal away, Lilith... my people will contact your people regarding copyrights, etc. :P Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.