jamboy1 Posted August 5, 2008 Share Posted August 5, 2008 I'm not so good with titles, but i was messing about abit after wanting to have this on my game. So what you have to do, is delete the success money in the crimes table, and add these 2 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now in docrime.php add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Under: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now you can manually add crimes with phpmyadmin and it should work fine =) in staff_crimes.php find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Later on find: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace this with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now for editing your crime, you are still in the same page. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace that 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. And replace with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I have tested the crime and create new crime, hopefully edit crime does work, if not please post here :) :D Quote Link to comment Share on other sites More sharing options...
KingRise Posted August 5, 2008 Share Posted August 5, 2008 Re: Crimes give random money nice long update .....nice effort Quote Link to comment Share on other sites More sharing options...
jamboy1 Posted August 6, 2008 Author Share Posted August 6, 2008 Re: Crimes give random money when i made it i didn't think it would be that much editing :L but thanks for the reply =] Quote Link to comment Share on other sites More sharing options...
$$ ?????? $$ Posted August 6, 2008 Share Posted August 6, 2008 Re: Crimes give random money good idea mate :-) Quote Link to comment Share on other sites More sharing options...
POG1 Posted August 6, 2008 Share Posted August 6, 2008 Re: Crimes give random money looks good :) its boring getting the same amount of money every time Quote Link to comment Share on other sites More sharing options...
KingRise Posted August 6, 2008 Share Posted August 6, 2008 Re: Crimes give random money yeah good stuff Quote Link to comment Share on other sites More sharing options...
jamboy1 Posted August 7, 2008 Author Share Posted August 7, 2008 Re: Crimes give random money Thank you :D and yeah that was a point in making this, i may try working on doing it with items, but it could take a while :P Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted August 8, 2008 Share Posted August 8, 2008 Re: Crimes give random money Looking good jamboy :) Quote Link to comment Share on other sites More sharing options...
grimsybaby Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money can this be used for version 2 ? Quote Link to comment Share on other sites More sharing options...
John99 Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money It is for v2 if you look. i think :| Quote Link to comment Share on other sites More sharing options...
gurpreet Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money $db->query = v2 Quote Link to comment Share on other sites More sharing options...
John99 Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money yeah v2 uses $db-> v1 uses mysql_ Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money yeah but what is worst most of the time to change from v1 to v2 all you have to do is chagne the top to include globals.. mysql_query works Perfect on V2.........lol why change it? lol Quote Link to comment Share on other sites More sharing options...
John99 Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money Yeah i know but thats how v2 done lol so i just do v2 $db-> i dont do down every line recoding it i just use notepad++ Crtl+F and then find and replace then click replace all Quote Link to comment Share on other sites More sharing options...
grimsybaby Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money hmm thats good news then :) i have added but, im not getting any money for the crimes :s Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. thats my do crime page but theres lot of things you need to take out which you havent mentioned please give a better instructions Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money ok i now just tryed and didnt work man thats stupid im going to use the other one till this is done properly its just another fake at the mo just like the guy who made the job specials Quote Link to comment Share on other sites More sharing options...
Miniman Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money ok i now just tryed and didnt work man thats stupid im going to use the other one till this is done properly its just another fake at the mo just like the guy who made the job specials It's because you suck, Learn to fix it.....Or atleast tell us why it is not working, Is there an error? Quote Link to comment Share on other sites More sharing options...
grimsybaby Posted January 18, 2009 Share Posted January 18, 2009 Re: [mccode] Crimes give random money You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i added the line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. but now i dont get anymoney at all for doing crimes, i went through all of the install 3 times over. making sure i didnt have any mistakes as i did it real early this morning lol XD but nope i did it exactly how jamboy put it up :) and nope :( Quote Link to comment Share on other sites More sharing options...
bling Posted January 19, 2009 Share Posted January 19, 2009 Re: [mccode] Crimes give random money ok this might be a little bit off topic but how can i go about to show the Username just like the {money} i have tryed many diff way but it seems it dos not want to show the username can anyone help? Quote Link to comment Share on other sites More sharing options...
bling Posted January 19, 2009 Share Posted January 19, 2009 Re: [mccode] Crimes give random money never mind find it out Quote Link to comment Share on other sites More sharing options...
bling Posted January 19, 2009 Share Posted January 19, 2009 Re: [mccode] Crimes give random money this $muny=(int) (rand($r['crimesMINMONEY'],$r['crimesMAXMONEY'])); needs to be $muny= rand($r['crimeMINMONEY'],$r['crimeMAXMONEY']); Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted January 19, 2009 Share Posted January 19, 2009 Re: [mccode] Crimes give random money i got the same as you grimsy it dont work Quote Link to comment Share on other sites More sharing options...
bling Posted January 19, 2009 Share Posted January 19, 2009 Re: [mccode] Crimes give random money You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. try this docrime.php tested works Quote Link to comment Share on other sites More sharing options...
Karlos Posted March 12, 2009 Share Posted March 12, 2009 Re: [mccode] Crimes give random money Why use rand() try mt_rand() 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.