
Z?v??
Members-
Posts
248 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Z?v??
-
Re: Honor Awards v2 Don't be baggin on Seanybob. I bought his mod and I found it very convenient. I haven't seen an honor awards mod out there thats quite like his. Deffinitely worth the $20 he charges for this.
-
Re: [mccode] Mods 4 Sale All that is legal in the U.S at age 18 as well except for Alcohol. Driving starts at 16 :-P
-
Re: [mccode] Mods 4 Sale Ok, ive got it all setup now and theres no errors or anything. But when i tested to see if it worked...I replied back to a user that was in fed and the message didnt display for the user in fed jail. It's like its not adding it to the db or something, and yes, i added the sql.
-
Re: [mccode] Mods 4 Sale I got the fedjail report system and i'm having a little trouble with making it work with v2. I've got it all set up with no errors...but when you click the link to go to makereport.php it just refreshes the page. I dont think its calling the fedheader.php. I put require "globals.php" require "fedheader.php" and I think it was just calling the regular header.php. Do I need to make seperate globals.php and call it fedglobals.php. Then change the fedglobals.php to require fedheader.php instead of header.php?
-
Re: [Free v1] Close page system v1 to v2 convertions are really pretty simple. I'm sure anyone could learn if they looked through the forums for a few minutes.
-
Re: [Free v1] Close page system You're impressive Silver. Coming to CE and throwin up all kinds of freebies, helping everyone, and selling some good lookin mods. I'll have to hit you up sometime. :wink: +1
-
Re: [Free v1 & v2] Advanced Gang Logs The one you posted Silver has more data in it than the gang logs that originally come with v2.
-
Re: Free Admin Mod Here it is for those of you using MCcodes v2. <?php require "globals.php"; $is=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid") or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); if($ir['user_level'] != 2 && $ir['user_level'] != 3 && $ir['user_level'] != 5) { die("Staff only!"); } switch($_GET['action']) { case 'ganglog': ganglog_view(); break; default: ganglog_index(); break; } function ganglog_index() { global $ir,$c,$userid; print "<h3>Gang Logs</h3> You can view a complete record of this gang. <form action='ganglogs.php?action=ganglog' method='post'>"; $q = mysql_query("SELECT * FROM `gangs` ORDER BY `gangNAME` ASC"); print "Gang: <select name=gangID>"; while($a = mysql_fetch_array($q)){ print "<option value={$a['gangID']}>{$a['gangNAME']}</option>"; } print "</select> <input type='submit' value='View Record' /></form>"; } function ganglog_view() { global $ir,$c,$userid; $q=$db->query("SELECT * FROM gangs WHERE gangID='{$_POST['gangID']}'"); while($r=mysql_fetch_array($q)) { print "<table width=100%> <tr style='background:gray'><th>Gang Record</th></tr> <tr> <td> [b]Gang Name: [/b]{$r['gangNAME']} [b]Gang Tag:[/b] {$r['gangPREF']} [b]Gang Leader: [/b]{$r['gangPRESIDENT']} [b]Gang Co-Leader: [/b]{$r['gangVICEPRES']} [b]Gang Money: [/b]\${$r['gangMONEY']} [b]Gang Crystals: [/b]{$r['gangCRYSTALS']} [b]Gang Respect: [/b]{$r['gangRESPECT']} [b]Gang Capacity: [/b]{$r['gangCAPACITY']} [b]Gang Crime:[/b] {$r['gangCRIME']} [b]Gang Crime Hours: [/b]{$r['gangCHOURS']} </td></tr></table>"; } print "<table width=100%><tr><td bgcolor=gray colspan=3><center>[b]Gang Wars</center>[/b]</td></tr>"; $q=$db->query("SELECT w.*,g1.gangNAME as declarer, g1.gangRESPECT as drespect, g2.gangNAME as defender, g2.gangRESPECT as frespect FROM gangwars w LEFT JOIN gangs g1 ON w.warDECLARER=g1.gangID LEFT JOIN gangs g2 ON w.warDECLARED=g2.gangID WHERE w.warDECLARER={$_POST['gangID']} OR w.warDECLARED={$_POST['gangID']}"); while($r=mysql_fetch_array($q)) { print "<tr> <td width=45%>[url='gangs.php?action=view&ID={$r[']{$r['declarer']}</font>[/url] [{$r['drespect']} respect]</a></td> <td width=10%>vs.</td> <td width=45%>[url='gangs.php?action=view&ID={$r[']{$r['defender']}</font>[/url] [{$r['frespect']} respect]</a></td> </tr>"; } print "</table>"; $e=$db->query("SELECT * FROM gangevents WHERE gevGANG={$_POST['gangID']} ORDER BY gevTIME DESC LIMIT 1000"); print "<table width=100%><td bgcolor=gray valign=center>[b]Time[/b]</td><td bgcolor=gray valign=center>[b]Latest 1000 Events[/b]</td></tr>"; while($r=mysql_fetch_array($e)) { print "<tr><td>".date('F j Y, g:i:s a',$r['gevTIME'])."</td><td> {$r['gevTEXT']}</td></tr>"; } print " </table>"; } ?>
-
Re: Counting (nr game) 1140
-
Re: Username under Married instead of UserID if ( !$ir['married'] ) { $marital="<font color='red'>No</font>"; } else { $k=mysql_query("SELECT username FROM users WHERE userid={$ir['married']}", $c); $marital="[url='viewuser.php?u={$ir[']".mysql_result($k,0,0)."[/url] "; $marital.="[[url='partner.php']Manage[/url]]"; $mair=mysql_query("SELECT u.*, h.* FROM users u LEFT JOIN houses h ON h.hWILL=u.maxwill WHERE userid={$ir['married']}",$c); $ms=mysql_fetch_array($mair); } if ($ir['married']>0) { $marr=mysql_query("SELECT * FROM users WHERE userid={$ir['married']}",$c); $ma=mysql_fetch_array($marr); <td><p align='left'>[b]Married: $marital[/b]</p></td>
-
Re: Bars over 100% ???? Gahh...you're a genious. Thank you. +1
-
Re: Bars over 100% ???? Ok, that worked. Except now the percent is showing up like this... 84.615384615385% :?
-
Re: [mccode] validation mod v2 comes with a validation mod.
-
Re: Bars over 100% ???? Ya...So mines way off. How would you fix this Decepti0n?
-
Re: Bars over 100% ???? Well I think part of the problem is that the percents arent accurate. I have 22 passed crimes and 3 failed crimes and the bar says 733% So I know thats not correct. Anyone know how to fix the accuracies?
-
I've got bars on my criminal records page that are going over 100% and are getting really long causing the page to goof up. Heres what my criminal records page looks like... My problems fixed....You dont need to see this code anymore :-P Anyone have a solution???
-
Re: Free Multiple Event Deleter - FREE! Then you aren't adding it in the right place or something.
-
Re: Free Multiple Event Deleter - FREE! Actually you're wrong. UCC just took the script and modified it to the way he likes it. (Correct me if i'm wrong UCC.)
-
Re: Free Multiple Event Deleter - FREE! 03laceys....in the events.php there is a bit of code that is in there twice. It only needs to be there once. blah=document.getElementById('dell'); blah.disabled=false; blaht=document.getElementById('dellt'); blaht.disabled=false; Just take on of those out. It also missing a query at the very end of the script so you wont have the same problem i was having.
-
Re: Free Multiple Event Deleter - FREE! Mainmenu :? No bro, it was in oxidati0ns file. UCC helped me fix it though. :-D
-
Re: Free Multiple Event Deleter - FREE! I converted this to v2 and i've noticed that when I recieve an event...it shows up like Events (1) like its supposed to...but then when you delete it or something....it still says Events (1) Its like its froze there or something.
-
Re: Free Multiple Event Deleter - FREE! I dropped you a PM last night about a flash template - the $10 package... You never got back to me... :|
-
Re: Free Multiple Event Deleter - FREE! God oxidati0n...i love you... in a non-homosexual kinda way lol
-
Re: Free Multiple Event Deleter - FREE! I'll be using this event deleter just so you know. :wink: +1
-
Re: Free Multiple Event Deleter - FREE! It pretty much means cool. lol :mrgreen: