Jump to content
MakeWebGames

Recommended Posts

Posted

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

  • Replies 52
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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

  • 5 months later...
Posted

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

Posted

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

Posted

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

Posted

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

Posted

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?

Posted

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 :(

Posted

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?

Posted

Re: [mccode] Crimes give random money

this $muny=(int) (rand($r['crimesMINMONEY'],$r['crimesMAXMONEY']));

needs to be $muny= rand($r['crimeMINMONEY'],$r['crimeMAXMONEY']);

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...