HITMAN 17 Posted October 21, 2008 Share Posted October 21, 2008 Tested and You Dont Need Sql as it should be already in the database You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This Has Been Tested And Automatically Updates Add this code In Mainmenu.php Somewhere Now Make A File In crons/are/not/4u/jail.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now Add this To Crons curl http://yourgame.com/crons/are/not/4u/jail.php I will be adding more when i made it so when you fail a crime you go to jail Quote Link to comment Share on other sites More sharing options...
Arkvoodle` Posted October 21, 2008 Share Posted October 21, 2008 Re: Mccodes V1 Jail Yyyyyyyyyyyyyyyoooiinnnkkkkk ! Nice one, thanks for posting, I'll add this now ! ;) Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted October 21, 2008 Author Share Posted October 21, 2008 Re: Mccodes V1 Jail No probs Mate Heres the viewuser.php code You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted October 22, 2008 Author Share Posted October 22, 2008 Re: [mccode v1] Mccodes V1 Jail ok here is the edituser part open up admin.php find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This has been tested and works but please dont forget this is only jail time i have not done jail reason yet Quote Link to comment Share on other sites More sharing options...
Poldar Posted October 23, 2008 Share Posted October 23, 2008 Re: [mccode v1] Mccodes V1 Jail Some body should make this into a v2.... :mrgreen: Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted October 23, 2008 Author Share Posted October 23, 2008 Re: [mccode v1] Mccodes V1 Jail why would you make this into v2 when v2 have this installed Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted October 24, 2008 Share Posted October 24, 2008 Re: [mccode v1] Mccodes V1 Jail Better secure that cron or everyone in the world is going to be running those crons...... Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted October 25, 2008 Author Share Posted October 25, 2008 Re: [mccode v1] Mccodes V1 Jail how do i secure those crons Quote Link to comment Share on other sites More sharing options...
Guest Anonymous Posted October 25, 2008 Share Posted October 25, 2008 Re: [mccode v1] Mccodes V1 Jail http://criminalexistence.com/ceforums/i ... ic=17904.0 Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted October 26, 2008 Author Share Posted October 26, 2008 Re: [mccode v1] Mccodes V1 Jail here it is secured You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted October 29, 2008 Share Posted October 29, 2008 Re: [mccode v1] Mccodes V1 Jail lol no no i ment you need to ad a CODE or name that page something crazy like lkajv8945i3489yg843n98238289jdk.php So someone dont just type in jail.php and start runing his cron. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 1, 2008 Author Share Posted November 1, 2008 Re: [mccode v1] Mccodes V1 Jail here is the docrime.php file where adds you to jail You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now dont for get the sql ALTER TABLE `users` ADD `jailreason` VARCHAR( 255 ) NOT NULL DEFAULT '' If you like what i have done thank me Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 1, 2008 Author Share Posted November 1, 2008 Re: Mccodes V1 Jail No probs Mate Heres the viewuser.php code You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Please Dont Forget To Add This Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 9, 2008 Author Share Posted November 9, 2008 Re: [mccode v1] Mccodes V1 Jail here is the docrime.php file where adds you to jail You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now dont for get the sql ALTER TABLE `users` ADD `jailreason` VARCHAR( 255 ) NOT NULL DEFAULT '' If you like what i have done thank me I Was Just Wondering if instead off raand it like the one on mccodes v2 can someone do it like that please i might consider paying as well Quote Link to comment Share on other sites More sharing options...
Assault Posted April 7, 2009 Share Posted April 7, 2009 Re: [mccode v1] Mccodes V1 Jail i understand this is topic is a bit old but, its the only one i can find for mccodes v1 jail mod, i have users reporting that they are in jail for a lot longer than what the timer says ex: jail timer says 10 minuets but they reamin in the jailf or hours untill someone bust them out... here are my files jail.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. crons/are/not/4u/jail.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. docrime.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Assault Posted April 8, 2009 Share Posted April 8, 2009 Re: [mccode v1] Mccodes V1 Jail cant edit my original post but i can also bust my self out of jail Quote Link to comment Share on other sites More sharing options...
Assault Posted April 8, 2009 Share Posted April 8, 2009 Re: [mccode v1] Mccodes V1 Jail fixed the timer updating part now only problem is that i can bust my self out Quote Link to comment Share on other sites More sharing options...
Assault Posted April 10, 2009 Share Posted April 10, 2009 Re: [mccode v1] Mccodes V1 Jail wondering if anyone has a fix? Quote Link to comment Share on other sites More sharing options...
DELETE ME NOW! Posted April 10, 2009 Share Posted April 10, 2009 Re: [mccode v1] Mccodes V1 Jail wondering if anyone has a fix? I havent looked at the code, you may edit this to fix it in. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Assault Posted April 10, 2009 Share Posted April 10, 2009 Re: [mccode v1] Mccodes V1 Jail i kept getting Parse error: syntax error, unexpected T_ELSE in /home/thugmayh/public_html/bust.php on line 132 so i just reversed anything that i had done, here is my bust.php file You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
yaz123 Posted April 10, 2009 Share Posted April 10, 2009 Re: [mccode v1] Mccodes V1 Jail here it is secured You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Not Tested - Reply if it doesn't work You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
yaz123 Posted April 11, 2009 Share Posted April 11, 2009 Re: [mccode v1] Mccodes V1 Jail <?php include (DIRNAME(__FILE__) ."/mysql.php"); include (DIRNAME(__FILE__) ."/../../../../global_func.php"); global $c; if ($IP != $_SERVER['SERVER_ADDR']) { die('Error'); } $sql = sprintf("UPDATE users SET jail = jail - 1 WHERE (jail > %u)", 0, $c); $db->query($sql); ?> Quote Link to comment Share on other sites More sharing options...
Assault Posted April 11, 2009 Share Posted April 11, 2009 Re: [mccode v1] Mccodes V1 Jail anyone have an update on not being able to bust your self out? Quote Link to comment Share on other sites More sharing options...
yaz123 Posted April 11, 2009 Share Posted April 11, 2009 Re: [mccode v1] Mccodes V1 Jail anyone have an update on not being able to bust your self out? Try this! You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Assault Posted April 11, 2009 Share Posted April 11, 2009 Re: [mccode v1] Mccodes V1 Jail sorry, didnt work Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.