Joel Posted March 13, 2008 Posted March 13, 2008 How do i get my Cyberbank on the game and on the certain country, Please Help!!! Quote
Joel Posted March 13, 2008 Author Posted March 13, 2008 Re: Help with Cyberbank!!! sorry for that i didnt no Quote
Guest Anonymous Posted March 13, 2008 Posted March 13, 2008 Re: Help with Cyberbank!!! lean basics of php first before you start running a game. www.w3schools.com/php/ Quote
Joel Posted March 13, 2008 Author Posted March 13, 2008 Re: Help with Cyberbank!!! Ive read that before, Im sorter good at coding but not that good still learning thou, Anyway how do i get the cyber bank in the country i want it to be in, Ive got Mccodes V2 and cyber isnt on none off the countrys, Please Help. Quote
Deisel80 Posted March 20, 2008 Posted March 20, 2008 Re: Help with Cyberbank!!! The cyber bank by default becomes available in the explore page only when you are in city #5. It appears in the menu not in the "country" as you are calling it. I'm posting this so you can control it by both location and level of the user. Find in explore.php if($ir['location'] == 5) { print " [url='cyberbank.php']Cyber Bank[/url] "; } And replace with: if($ir['location'] == 5 AND $ir['level']==75) { print " [url='cyberbank.php']Cyber Bank[/url] "; } You will need to change the "location" to the cityid of the city you want it to appear in and change level to the level you want the user to be required. If either of these conditions is not met the cyberbank will not display. Quote
Godhand Posted March 21, 2008 Posted March 21, 2008 Re: Help with Cyberbank!!! add this into your cyberbank.php This requires them to be in the 5th location and be over level 75. if($ir['location'] !== 5 OR $ir['level']<75) ///checks the level and location { die("You must be in the 5th city and be at least level 75 to access the Cyber Bank"); }//Makes the page not work if they don't have the requirements 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.