Jump to content
MakeWebGames

Recommended Posts

Posted

Re: Money on my game

unless they are referring to the donations page, then you would need to look through the donator.php and the willpotion.php and change where it says usdollar to whatever you want it to be, but thats just assuming it wasnt meant to refer to game money

Posted

Re: Money on my game

I also wanted to change my currency to the £. So I changed it in the global_func.php

But it doesn't change the symbol in the bank, or stats page, or shops, etc. How can I change it there?

Guest Anonymous
Posted

Re: Money on my game

 

Yea go edit all the page's changing $ to £ ;)

Says it all really - Why do the easy way when there is a nice hard way... ;)

Posted

Re: Money on my game

Heh its been a while since I messed with the outline settings change... isn't it in like header.php? :-) I can't be bothered to look for it... heh.

Posted

Re: Money on my game

I have done that throughout my game...but I can't seem to do it on the HoF. Here is the money part of my HoF:

function hof_money()
{
global $db,$ir,$c,$userid, $myf;
print "Showing the 20 users with the highest amount of money

<table width=75% cellspacing=1 class='table'><tr style='background:gray'> <th>Pos</th> <th>User</th> <th>Money</th><th>Status</th> </tr>";
$q=$db->query("SELECT u.*,g.* FROM users u LEFT JOIN gangs g ON g.gangID=u.gang WHERE u.user_level != 2 AND user_level != 0 $myf ORDER BY money DESC,userid ASC LIMIT 20");
$p=0;
while($r=$db->fetch_row($q))
{
$p++;
if($r['userid'] == $userid) { $t="[b]";$et="[/b]"; } else { $t="";$et=""; }

 

Where do I change it? lol :)

Posted

Re: Money on my game

You've tried your money formatter function already? Also checking like shops.php or bank.php you will probably have to manually do without a mass update.

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