Jump to content
MakeWebGames

[mccode] adding a crime panel in admin panel


seanybob

Recommended Posts

adding a crime panel in admin panel

ok i made a crimegroup panel... but for some reason, adding a new crimegroup doesnt work. i prolly left off an s somewhere...

admin.php

add this somewhere with all the other functions

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

after it add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

find

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

after it add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

so... any ideas where i went wrong? i havent even tested the edit crimegroups yet, since i couldnt make a new one lol

Link to comment
Share on other sites

adding a crime panel in admin panel

okay so after quite a few smacks of the screen i finally sorted the add new crimegroup thing

the mysql query needs to be changed from

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

to

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and it worked for me

okay but i can't get delete crimegroup to work it just stays on my admin panel and don't actually switch to anything to delete

any idea's?

Link to comment
Share on other sites

  • 2 months later...

Re: adding a crime panel in admin panel

 

k guys, updated my first post with just about everything posted here, and fixed crime groups. it all should be working now

So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP.

After looking over the code again, I found that you didn't even add an option for EXP.

Just FYI. :o

Link to comment
Share on other sites

Re: adding a crime panel in admin panel

 

So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP.

After looking over the code again, I found that you didn't even add an option for EXP.

Just FYI. :o

lol, i bet its cuz when this mod was made, their wasnt any crime exp... i believe thats a new edition to V2?

in v1.1 and lite, i believe the Exp was calculated off the successmoney... perhaps im wrong :-D

Link to comment
Share on other sites

Re: adding a crime panel in admin panel

 

So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP.

After looking over the code again, I found that you didn't even add an option for EXP.

Just FYI. :o

lol, i bet its cuz when this mod was made, their wasnt any crime exp... i believe thats a new edition to V2?

in v1.1 and lite, i believe the Exp was calculated off the successmoney... perhaps im wrong  :-D

i'm using lite. i've had this same install for about 5 months.

Link to comment
Share on other sites

  • 6 months later...
  • 2 weeks later...

Re: [mccode] adding a crime panel in admin panel

Nobody knows, as far as I can tell it does not exist. I looked through all 17 pages of Seanybob's posts and found only 1 regarding a CRIMEitem mod nad this was the only 1 =/

I hope Seanybob will tell us where it really is sooner or later =/

Seanybob and clues?

Link to comment
Share on other sites

  • 4 weeks later...

Re: [mccode] adding a crime panel in admin panel

 

So uhh, I couldn't figure out why the crimes i created with this mod wasn't giving any EXP.

After looking over the code again, I found that you didn't even add an option for EXP.

Just FYI. :o

lol, i bet its cuz when this mod was made, their wasnt any crime exp... i believe thats a new edition to V2?

in v1.1 and lite, i believe the Exp was calculated off the successmoney... perhaps im wrong :-D

i'm using lite. i've had this same install for about 5 months.

QUOTE!!! Sorry I just wanted to make a big quote box... I'll stay out of this topic now!

*Goes back into the corner and stares at everyone O_O*

Link to comment
Share on other sites

Re: adding a crime panel in admin panel

 

okay so after quite a few smacks of the screen i finally sorted the add new crimegroup thing

the mysql query needs to be changed from

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

to

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and it worked for me

okay but i can't get delete crimegroup to work it just stays on my admin panel and don't actually switch to anything to delete

any idea's?

Try checking your cases and func names. I always get tht problem with coding... If that doesn't work then idk wat to do then lol. Ok I gtg an hour ago so I can get at least 4 hours of sleep. Cyall

Link to comment
Share on other sites

  • 3 weeks 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...