Jump to content
MakeWebGames

Recommended Posts

Posted

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.

Posted

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.

Posted

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 

Join the conversation

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

Guest
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...