Jump to content
MakeWebGames

Recommended Posts

  • Replies 231
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Re: Businesses Mod [Mccode V2]

also when you view buss listings

Car dealership companies

hellboy cars - hellboy 2

but only shows the one bussiness says there 2 under the car cat but only lists one mate

Posted

Re: Businesses Mod [Mccode V2]

ok i have enough cash in valt to upgrade but i get this you dont have enough gold in the vault and ideas

heres the part in bus_manage what i have

$price_upgrade = ($inf['classMembers']*100000);

echo 'You are about to upgrade the '.stripslashes($inf['busName']).' business at a cost of $'.number_format($price_upgrade).' for an additional 5 slots. Please confirm this action.

Once this has been confirmed there is no chance to go back.

 

Upgrade the business';

}

else

{

$price_upgrade = ($inf['classMembers']*100000);

if ($inf['busMoney'] < $price_upgrade) {

die('You do not have enough gold in the vault.');

}else{

mysql_query(sprintf("UPDATE `businesses` SET `busEmployees` = busEmployees+5, `busMoney` = busMoney - ".$price_upgrade." WHERE `busDirector` = ".$ir['userid'].""));

business_alert($inf['busId'], "The Director has upgraded the business for 5 extra members.");

echo 'You have decided to upgrade the business, you can now emploty an additional 5 members.';

Posted

Re: Businesses Mod [Mccode V2]

Question: How do we make it so that when you have either a business or a job, you cant go and either start a job, or get a business. It needs to be 1 or the other.

Posted

Re: Businesses Mod [Mccode V2]

 

can some one add it all again with all the fixes please?

thats never guna happen theres always guna be problems lol

You sure?, I've added bits onto it and bug free, and mostly recoded to my standards. ;D

Posted

Re: Businesses Mod [Mccode V2]

 

can some one add it all again with all the fixes please?

thats never guna happen theres always guna be problems lol

You sure?, I've added bits onto it and bug free, and mostly recoded to my standards. ;D

share it on here then lots of people want this mod

  • 1 month later...
  • 4 weeks later...
Posted

*Fully Working Business mod even with upgrade

 

business_create.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

business_cron.php

 

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

Rest to follow

Posted

E for effort but you missed a few $_POSTS that need to be secured from the bank hack. Just deposited 2.4 mill into bank vault and had 0 cash on me :P

Not sure about the banner peice either as it could be exploited.

I have been working on modifying this version as well as adding an option to remove money from the business vault >< I'll post when it's finished.

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