danny420 Posted October 27, 2012 Share Posted October 27, 2012 Im new to mccodes so im not sure where everything is yet im having a problem finding the crimes i can find criminal.php and docrime.php but theres no crime names or the result of the crimes in those pages i serached every page in the script looking for the crimes with no luck Can anyone help please? i would greatly appreciate it Thanks Quote Link to comment Share on other sites More sharing options...
Octarine Posted October 27, 2012 Share Posted October 27, 2012 The crime names are stored in the database table `crimes`, and remarkably, crime groups in the table `crimegroups`. You should therefore be able to access them from the staff console or via your MySQL administration tool of choice (command-line, Adminer or the ancient, ugly, badly broken and insecure phpMyAdmin) Quote Link to comment Share on other sites More sharing options...
danny420 Posted October 27, 2012 Author Share Posted October 27, 2012 Strange i dont have any way to change it in the staff panel and i dont see the table 'crimes' or 'crimegroups' yet the crimes seem to be there i am also noticing gang pages like '_gang_create.php' but theres no way to create a gang in the game. Quote Link to comment Share on other sites More sharing options...
Octarine Posted October 27, 2012 Share Posted October 27, 2012 Well since my crystal ball seems to be on the blink, perhaps you should furnish the good peeps here with the source code relevant to the problem. Quote Link to comment Share on other sites More sharing options...
danny420 Posted October 28, 2012 Author Share Posted October 28, 2012 like i said im a new user of mccodes i really wouldnt know what source to post as im not having any code errors i just cant find the crimes in any file in the script and i cant find any of the crimes in any of the database tables Quote Link to comment Share on other sites More sharing options...
danny420 Posted November 2, 2012 Author Share Posted November 2, 2012 Thanks for the help i was in the wrong database XD i found the crimes and changed them with no problems appreciate the help Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted November 2, 2012 Share Posted November 2, 2012 You should be able to edit/add crimes in your staff panel: staff.php 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.