HITMAN 17 Posted October 21, 2008 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
Arkvoodle` Posted October 21, 2008 Posted October 21, 2008 Re: Mccodes V1 Jail Yyyyyyyyyyyyyyyoooiinnnkkkkk ! Nice one, thanks for posting, I'll add this now ! ;) Quote
HITMAN 17 Posted October 21, 2008 Author 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
HITMAN 17 Posted October 22, 2008 Author 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
Poldar Posted October 23, 2008 Posted October 23, 2008 Re: [mccode v1] Mccodes V1 Jail Some body should make this into a v2.... :mrgreen: Quote
HITMAN 17 Posted October 23, 2008 Author Posted October 23, 2008 Re: [mccode v1] Mccodes V1 Jail why would you make this into v2 when v2 have this installed Quote
AlabamaHit Posted October 24, 2008 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
HITMAN 17 Posted October 25, 2008 Author Posted October 25, 2008 Re: [mccode v1] Mccodes V1 Jail how do i secure those crons Quote
Guest Anonymous Posted October 25, 2008 Posted October 25, 2008 Re: [mccode v1] Mccodes V1 Jail http://criminalexistence.com/ceforums/i ... ic=17904.0 Quote
HITMAN 17 Posted October 26, 2008 Author 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
AlabamaHit Posted October 29, 2008 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
HITMAN 17 Posted November 1, 2008 Author 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
HITMAN 17 Posted November 1, 2008 Author 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
HITMAN 17 Posted November 9, 2008 Author 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
Assault Posted April 7, 2009 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
Assault Posted April 8, 2009 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
Assault Posted April 8, 2009 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
Assault Posted April 10, 2009 Posted April 10, 2009 Re: [mccode v1] Mccodes V1 Jail wondering if anyone has a fix? Quote
DELETE ME NOW! Posted April 10, 2009 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
Assault Posted April 10, 2009 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
yaz123 Posted April 10, 2009 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
yaz123 Posted April 11, 2009 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
Assault Posted April 11, 2009 Posted April 11, 2009 Re: [mccode v1] Mccodes V1 Jail anyone have an update on not being able to bust your self out? Quote
yaz123 Posted April 11, 2009 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
Assault Posted April 11, 2009 Posted April 11, 2009 Re: [mccode v1] Mccodes V1 Jail sorry, didnt work Quote
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.