Jump to content
MakeWebGames

Create Gang Update Idea?


Nicholas

Recommended Posts

how about making it so say you want to create a gang it will cost...

$250,000 for the first gang and then once there is a gang in the game the next gang will cost

$250,000 + $50,000 (each gang in game).

for example... say there is 6 gangs in the game, yes?

that be $50,000 X 6 = $300,000, then you add that to the $250,000 which will cost $550,000.

so techically the next person that wants to buy a gang it will cost them $550,000.

if you need more information, please contact me. :)

Thanks, Nicholas.

Link to comment
Share on other sites

ahh figured it out...

add this under include "globals.php";

$q=$db->query("SELECT gangID FROM gangs");
$gangs=$db->num_rows($q);
$gangs = $gangs*50000;

 

then find...

if($ir['money'] < ???????)
{
die("You don't have enough money. You need \$???????.");
}

 

and replace it with this

if($ir['money'] < $gangs)
{
echo "You don't have enough money. You need \$".number_format($gangs).".";
$h->endpage();
exit;
}

 

then find...

<input type='submit' value='Create Gang for \$???????' /></form>

 

and replace it with this

<input type='submit' value='Create Gang for \$".number_format($gangs)."' /></form>

 

then find...

$db->query("UPDATE users SET gang=$i,money=money-??????? where userid=$userid");

 

and replace it with this

$db->query("UPDATE users SET gang=$i, money=money-$gangs where userid=$userid");
Link to comment
Share on other sites

Nice, Nic. :)

But, you never thought it through again, dont mean to be harsh.

But as in all games, not every member is rich. And if they created a gang, that cost all there money, and got destroyed. Then they will be pissed of, that the gang cost, has gone up. Witch will probs cost them loads of money, and decided to go bonkers.

Lol. :p

Link to comment
Share on other sites

what do you mean by "i didnt think it through again"

yes i know not everyone is rich in all games, but thats something to work towards...

while training stats to stop the other gangs warring you and destorying your gang lol.

on my game ive done it as X 20,000 for every gang in game.

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.

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