Jump to content
MakeWebGames

[mccode] Crime Group Descriptions


jamboy1

Recommended Posts

This mod is best used with Richards crime page, but i'm sure it can be added somewhere on the standard MCcode criminal.php so now here is what to do:

Run this SQL:

 

You're unable to view this code.

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

 

Now simply in crimes you add where you want it:

 

You're unable to view this code.

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

 

I thank richard for making that crime page ;) i hope you don't mind me making this little addon

Also i havn't tested it yet, so if it is a little buggy please tell me

I also havn't much knoledge of how to add into the staff_crimes.php file, sowwy :P

Link to comment
Share on other sites

Re: Crime Group Descriptions

Crime group descriptions will have to be manually installed from the database and i believe the

You're unable to view this code.

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

should be

You're unable to view this code.

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

 

Unless you make a staff function in crimes for this, you will have to manually make them in the DB by browsing an editing then going from there...

Link to comment
Share on other sites

Re: Crime Group Descriptions

 

Thanks for using my idea lol...Is it working tho?

i didn't know it was yours but hey it's ok, i'm always happy to try and make mini stuff like this :D

and also thanks radio for the little peice of help :D

also i am using DB

Link to comment
Share on other sites

  • 13 years later...

Staff panel edit (staff_crimes.php)

 

Add

You're unable to view this code.

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

After

You're unable to view this code.

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

Find in new_crimegroup_submit()

You're unable to view this code.

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

Add after

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.

Replace with

You're unable to view this code.

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

In edit_crimegroup_form()

Find

You're unable to view this code.

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

Add after

 

You're unable to view this code.

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

 

In edit_crimegroup_sub()

Find

You're unable to view this code.

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

Add after

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.

Replace with

You're unable to view this code.

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

 

 

Your done

Edited by boionfire81
missed ending textarea
Link to comment
Share on other sites

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...