
-HIGH-
Members-
Posts
15 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by -HIGH-
-
Re: Basic Stock Market [V2] Nicly said Nyna
-
Re: Crime Group Descriptions Thanks for using my idea lol...Is it working tho?
-
Re: New Crime Page [V2] Could you make the first place be like a description of the crime groub then the 2nd the amount of brave?
-
Re: Emerngency Surgery for V2 Lol your wrong ain`t is to a word
-
Re: Can Somone Help? Im A Bit Of A Newb. alright fixed that problem but now i got this one QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Query was SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=
-
Ok im a bit of a newb at coding. I got an error with one of my mods after I converted it from v1 to v2 and i get this error and cant figure our what it is. Parse error: syntax error, unexpected '(', expecting T_STRING or T_VARIABLE or '{' or '$' in /home/*******/public_html/mod.php on line 18 Line 18 is $q=$db->("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}",$c); If somone can help or at least try to help it would be much apprciated!
-
Re: New Crime Page [V2] your looking at the type of crime not the crime No im looking at the crime im not that high Thanks for the laugh heres the code, you may wanna edit the first bit of code aswell because i set it to be 1 set brave per crime: <?php include "globals.php"; if($ir['jail'] or $ir['hospital']) { die("This page cannot be accessed while in jail or hospital."); } $_GET['ID'] = abs((int) $_GET['ID']); $getid=$_GET['ID']; if(!$getid) { $q=$db->query("SELECT * FROM crimegroups WHERE cgID>0 ORDER BY cgID ASC;",$c); print "Choose a Crime Group from the list below...<hr width=80%> <form action='crimes.php?ID={$_GET['ID']}' method='get'> <table width=80% cellspacing=1> <tr bgcolor=#500001> <th><font color=white>Crime</font></th> <th><font color=white>Brave Cost</font></th> <th><font color=white>Do</font></th></tr>"; if($db->num_rows($q) == 0) { print "<tr class='row$current_row'><td colspan=3></td></tr>"; $current_row = 1 - $current_row; } while($r=$db->fetch_row($q)) { print "<tr class='row$current_row'><td><font color=black>{$r['cgNAME']}</td><td><font color=#FF0000>-{$r['cgID']} Brave</font></td><td><center><input type='radio' name='ID' value='{$r['cgID']}' /></td></tr>"; $current_row = 1 - $current_row; } print "<tr bgcolor=#500001> <td colspan=2><div align=center><input type='submit' value='Next Step'></div></td><td></td> </tr></table></form> <hr width='80%'><align='left'>[url='index.php'] Home[/url]</align><hr width=80%>"; } else { $getid=($_GET['ID']); $q=$db->query("SELECT * FROM crimes WHERE crimeGROUP=$getid ORDER BY crimeID ASC;",$c); $r=$db->fetch_row($q); if (!$db->num_rows($q)) { print "Invalid Crime ID"; } else { $q=$db->query("SELECT * FROM crimes WHERE crimeGROUP=$getid ORDER BY crimeID ASC;",$c); print "Choose a Crime from the list below...<hr width=80%> <form action='docrime.php' method='get2'> <table width=80% cellspacing=1> <tr bgcolor=#500001> <th><font color=white>Crime</font></th> <th><font color=white>Brave Cost</font></th> <th><font color=white>Do</font></th></tr>"; if($db->num_rows($q) == 0) { print "<tr class='row$current_row'><td colspan=3></td></tr>"; $current_row = 1 - $current_row; } while($r=$db->fetch_row($q)) { print "<tr class='row$current_row'><td><font color=black>{$r['crimeNAME']}</td><td><font color=#FF0000>-{$r['crimeBRAVE']} Brave</font></td><td><center><input type='radio' name='c' value='{$r['crimeID']}' /></td></tr>"; $current_row = 1 - $current_row; } print "<tr bgcolor=#500001> <td colspan=2><div align=center><input type='submit' value='Do Crime'></div></td><td></td> </tr></table></form> <hr width='80%'>>[url='index.php'] Home[/url]<hr width=80%>"; } } $h->endpage(); ?> Thanks man i thought of that the other day when i was high and forgot all about it. :? :-D
-
Re: New Crime Page [V2] Anyone know how i fix it?
-
mccode-v2 Crimes (Players Can Go To Hospital)
-HIGH- replied to jamboy1's topic in Free Modifications
Re: Crimes (Players Can Go To Hospital) [V2] What the hell? Why would you want to go to jail and hospital at same time? -
Re: New Crime Page [V2] your looking at the type of crime not the crime No im looking at the crime im not that high
-
Re: New Crime Page [V2] Ok i got it working but it dosnt show how much brave it takes :x can somone help please
-
Re: New Crime Page [V2] I made a simple mistake all better now...
-
Re: Problem Installing LOL im so stupid. I didn`t read it that good thank you.
-
When I Try To Install My Codes I Get This Warning: install(class/class_db_mysql.php) [function.install]: failed to open stream: No such file or directory in /home/********/public_html/installer.php on line 471 Warning: install(class/class_db_mysql.php) [function.install]: failed to open stream: No such file or directory in /home/********/public_html/installer.php on line 471 Fatal error: install() [function.require]: Failed opening required 'class/class_db_mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/installer.php on line 471 Can Some One Help Me With It Please
-
Re: Advanced newspaper mod. Is This For Version 2? And Can Somone Post A Screenie Of It?