Jump to content
MakeWebGames

badurek

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by badurek

  1. Well, I'm a layman it but I think I would like to have it secure enough to be able to run a simple game with no one stop him changing the database, deleting tables, auto-admin. Sorry for my bad english guys :P
  2. Hi guys, how much cost to someone secure the basic version of MCCode v2? Thanks.
  3. I want get random sell prices for drugs, and i can do this with this code, but all drugs get the same random price. I need each drug get random price. I believe just need to get the id of each drug to work, but i dont know do this.
  4. Hi guys, i add this code to cron_fivemins to get randomly the sell prices of drugs. But is missing the way to identify the drugid because all drugs get randomly same price. Someone can help me with this? Thx, and srry for bad english ;p $chance = rand(50,100); $db->query("UPDATE drugs SET itmsellprice=$chance");
  5. worked, with the code in the start of page: $sql = "SELECT `cityname` FROM `cities` WHERE `cityid` = '{$ir['location']}'"; $run = mysql_query($sql); $city = mysql_fetch_assoc($run); and: <b>Local:</b> {$city['cityname']}<br /> thx for the help guys =D
  6. <b>Name:</b> $gn{$u} $d<br /> $sql = "SELECT `cityname` FROM `cities` WHERE `cityid` = '{$ir['location']}'"; $run = mysql_query($sql); if (($city = mysql_fetch_assoc($run)) == true) { echo 'Location: ' . $city['cityname']; } <b>Level:</b> {$ir['level']}<br /> <b>Crystals:</b> {$ir['crystals']}<br /> this?
  7. and after i use this? <b>City:</b> {$run['$city']}<br /> sorry i dont understand this things x.x
  8. dont show me nothing :/
  9. i tried this but dont show me nothing
  10. <b>Name:</b> $gn{$u} $d<br /> <b>Money:</b> {$fm}<br /> <b>City:</b> {$ir['location']}<br /> <b>Level:</b> {$ir['level']}<br /> <b>Crystals:</b> {$ir['crystals']}<br /> i tried this, but show me the ID of the city, if possible make location=cityname but location is on the users table and cityname in cities table i dont know how make this, im newbie
  11. hi guys, someone can help me to show the name of the city where user are, in side panel thx and sorry for bad english
  12. Someone can do a criminal.php with the code to show a picture of each crime when i pass the mouse up. I pay, thx guys thanks guys, i solved my problem
  13. <script type="text/javascript"> function show(Id) { document.getElementById(Id).style.display="inline"; } </script> maybe this is correct? and i need to add the function in criminal.php here? print "<tr><td>{$v['crimeNAME']}</td><td>{$v['crimeBRAVE']} Brave</td><td><a href='docrime.php?c={$v['crimeID']}'>Do</a></td></tr>"; how? im newbie guys sorry :/
  14. Hi boys, im newbie in php,all this things and im looking for a free modification to show in the screen a picture of a crime when i pass the mouse up on the crime. Example: I have two crimes in criminal page "Rob a car" and "Rob a house" when i pass the mouse in rob a car show a picture and when i pass in rob a house, show other picture. Thanks boys, and sorry for my bad english ;P
×
×
  • Create New...