jamboy1 Posted August 5, 2008 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
KingRise Posted August 5, 2008 Posted August 5, 2008 Re: Crimes give random money nice long update .....nice effort Quote
jamboy1 Posted August 6, 2008 Author 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
$$ ?????? $$ Posted August 6, 2008 Posted August 6, 2008 Re: Crimes give random money good idea mate :-) Quote
POG1 Posted August 6, 2008 Posted August 6, 2008 Re: Crimes give random money looks good :) its boring getting the same amount of money every time Quote
KingRise Posted August 6, 2008 Posted August 6, 2008 Re: Crimes give random money yeah good stuff Quote
jamboy1 Posted August 7, 2008 Author 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
Magictallguy Posted August 8, 2008 Posted August 8, 2008 Re: Crimes give random money Looking good jamboy :) Quote
grimsybaby Posted January 18, 2009 Posted January 18, 2009 Re: [mccode] Crimes give random money can this be used for version 2 ? Quote
John99 Posted January 18, 2009 Posted January 18, 2009 Re: [mccode] Crimes give random money It is for v2 if you look. i think :| Quote
gurpreet Posted January 18, 2009 Posted January 18, 2009 Re: [mccode] Crimes give random money $db->query = v2 Quote
John99 Posted January 18, 2009 Posted January 18, 2009 Re: [mccode] Crimes give random money yeah v2 uses $db-> v1 uses mysql_ Quote
AlabamaHit Posted January 18, 2009 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
John99 Posted January 18, 2009 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
grimsybaby Posted January 18, 2009 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
HITMAN 17 Posted January 18, 2009 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
HITMAN 17 Posted January 18, 2009 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
Miniman Posted January 18, 2009 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
grimsybaby Posted January 18, 2009 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
bling Posted January 19, 2009 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
bling Posted January 19, 2009 Posted January 19, 2009 Re: [mccode] Crimes give random money never mind find it out Quote
bling Posted January 19, 2009 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
HITMAN 17 Posted January 19, 2009 Posted January 19, 2009 Re: [mccode] Crimes give random money i got the same as you grimsy it dont work Quote
bling Posted January 19, 2009 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
Karlos Posted March 12, 2009 Posted March 12, 2009 Re: [mccode] Crimes give random money Why use rand() try mt_rand() 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.