Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

Can't find exactly what you've been wanting? Try searching for what you are looking for in the search box to the right. ----------->


AuthorTopic: V1 crimes with jail  (Read 206 times)

Hitman 15

  • Basic Member
  • *
  • Reputation Power: 8
  • Hitman 15 has no influence.
  • Offline Offline
  • Posts: 34
    • View Profile
V1 crimes with jail
« on: January 17, 2010, 04:55:51 PM »
Go to jail when fail or hosp mod for v1 i would certainly pay for
Logged

Spudinski

  • Basic Member
  • *
  • Reputation Power: 42
  • Spudinski has no influence.
  • Offline Offline
  • Posts: 52
  • I have cookies!
    • View Profile
    • WWW
    • Email
Re: V1 crimes with jail
« Reply #1 on: February 07, 2010, 08:53:41 PM »
I think it does come standard with v1.x if I'm not mistaken?
Logged
If you see a post that just doesn't just seem right, send me a PM.
Offering services for small-type games and websites, send me a PM if you want/need something done.

gambino

  • Active Member
  • **
  • Reputation Power: 0
  • gambino is looked down upon.gambino is looked down upon.gambino is looked down upon.
  • Offline Offline
  • Posts: 113
    • View Profile
Re: V1 crimes with jail
« Reply #2 on: April 05, 2010, 03:54:05 PM »
that's easy.

go to phpmyadmin
query this.
Code: [Select]
ALTER TABLE `crimes` ADD `fail_hosp` INT(11) NOT NULL DEFAULT '0';
edit in docrime.php

look for:
Code: [Select]
print $r['crimeFTEXT'];
add under:
Code: [Select]
mysql_query("UPDATE users SET hospital='{$r['fail_hosp']}' WHERE userid=$userid");
Done. of course you have to add a few more things in the staff panel.
« Last Edit: April 05, 2010, 03:58:23 PM by gambino »
Logged

dominion

  • Basic Member
  • *
  • Reputation Power: 69
  • dominion has no influence.
  • Offline Offline
  • Posts: 88
    • View Profile
    • Email
Re: V1 crimes with jail
« Reply #3 on: April 08, 2010, 10:44:02 AM »
I think it does come standard with v1.x if I'm not mistaken?

not with v1 but i think it does with v2
Logged