Jump to content
MakeWebGames

classified

Members
  • Posts

    27
  • Joined

  • Last visited

Personal Information

  • Location
    sk, canada

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

classified's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. thanks ~Robot I think I'm gonna give blueimp a try
  2. if anyone has a GOOD working ajax/ jquery chat for mccodes redux please msg me this one is no good at all period cause's major server problems
  3. yes I am I sent you a pm
  4. when you try to post in the gang channel it trys to load a page in the browser bar
  5. hey I bought the ajax chat mod from mccodes market place awhile ago and have had it up on my game after editing the files to work with redux, the global chat works well but the gang chat doesn't. if anyone could help me that would be really awesome and I can also pay 10$ for the help. if your up for helping me out just msg me thanks MWG
  6. If anyone is still using this I re did the stock portfolio here's the code   <?php /** * MCCodes Version 2.5.6 * Copyright (C) 2011-2012 MCCodes * All rights reserved. * * Redistribution of this code in any form is prohibited, except in * the specific cases set out in the MCCodes Customer License. * * This code license may be used to run one (1) game. * A game is defined as the set of users and other game database data, * so you are permitted to create alternative clients for your game. * * If you did not obtain this code from MCCodes.com, you are in all likelihood * using it illegally. Please contact MCCodes to discuss licensing options * in this case. * * File:Mods/mystocks.php * Signature: f33030f9e2af9f8a5c2d9f1c6cc46c5b * Date: Tue, 13 Mar 12 10:41:51 +0000 */ if (!defined($_CONFIG['define_code'])) { echo 'This file cannot be accessed directly.'; exit; } if($ir['location'] > 8) { die( "<font color=black>you can't do this while out of classified</font>"); } $a=$db->query("SELECT u.*, st.*,s.* FROM users u LEFT JOIN shares s ON u.userid=s.usUSER LEFT JOIN stock st ON st.stID=s.usSTOCK WHERE u.userid=$userid"); echo "<center><div id=second>Your Stock Portfolio</div> <table width=75% border='1' cellpadding='3'> <tr bgcolor=gray> <th>Stock Name</th> <th>Price per Share (avg)</th> <th>Total Sell Price</th> <th>Your Shares</th> <th>Last Change</th> </tr>"; while($b=$db->fetch_assoc($a)) { $total=$b['stCOST']*$b['usSHARES']; echo "<tr align=center> <td>{$b['stNAME']}</td> <td>".money_formatter($b['stCOST'])."</td> <td>".money_formatter($total)."</td> <td>{$b['usSHARES']}</td> <td>"; if ($b['stPERC']>0) { echo "<font color=blue>+{$b['stPERC']}%</font>"; } else { echo "<font color=red>{$b['stPERC']}%</font>"; } echo"</td> </tr>"; } echo "</table>"; echo " <h5>What would you like to do?</h5> <a href='".gen_url('stockmarket',true)."'>View Stockmarket</a> <a href='".gen_url('stockmarket',true)."&action=sell_stock'>Sell Stock</a> "; $h->endpage(); ?>
  7. awesome thanks so much man I'm gonna give that a try and see what happens Just tried out your code Coly010 and I made that work, Thank you again I would have never thought of that on my own lol   $_GET['wepid'] = (isset($_GET['wepid']) && is_numeric($_GET['wepid'])) ? abs(intval($_GET['wepid'])) : ''; if($_GET['wepid']) { if ($_GET['wepid'] == $ir['equip_melee']) { // ignore ammo code } else { $x=$db->query("SELECT * FROM ammunition WHERE amUSER=$userid AND amWEAPON={$_GET['wepid']} AND amAMMO>0"); $y=$db->num_rows($x); if (!$y) { print "You have no ammunition in this gun!"; $h->endpage(); exit; } }
  8. no what id like to do with it is to have it so that primary & secondary use ammo and then the melee weapons don't use anything I have 4 different types of guns on my game currently but when I try and make an attack using a melee weapon it says I have no ammo for this weapon
  9. if anyone could help me set this up to use melee weapons with this please msg me I have it working for guns but cant figure it out for melee weapons thanks clay420
  10. turns out really really simple for redux just upload the files to the public html folder and add the script tags to the template and its golden <script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> <script src="ajaxer.js"></script> all I did and its running good on my game other than messing up the ajax chat and it does not work with Richards crime mod either
  11. has anyone got this working with redux? or could some give me a hand getting it to work? I'm gonna keep working at it and if I can get it going ill post here for others looks bad ass though and I really want it on my game lol
  12. ive fixed this problem if anyone needs it let me know
  13. just wanting to see if anyone would be interested in make me a template for classified city pm me your price and all that kinda stuff thanks clay420
  14. thanks everyone for the advice. ill just keep on trucking :) and working things
  15. good to know thanks for your input coly010 :)
×
×
  • Create New...