seanybob Posted July 5, 2007 Share Posted July 5, 2007 So I decided to peruse my inbox, and found about 20 messages asking me to re-post the crime item mod (no joke) Here it is. Pretty simple and straightforward, but useful. In the crimes table in your database, add crimeITEM int(11) default 0 Find the part of the code where it gives the user money for successfully completing the crime. Delete that portion and replace with this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I don't have the original file, if someone posts it I can/will modify it to work with this. Some things to keep in mind: -Just because you make a crime give a person an item, doesn't mean you should set the successmoney to 0. Set the successmoney to whatever the value of the item is, as this is how experience is determined. If successmoney is set equal to 0, that is the experience they gain. -You put the itemID of the item you want into crimeITEM. For example, say you want to give computers for a particular crime. You would find the itemID of the item "computer", in this case 209. Put 209 into the crimeITEM part of the crimes table, and set successmoney to however much a computer is worth (like 300). Now when the crime is successfully completed, they get a computer (or whatever item you chose) Quote Link to comment Share on other sites More sharing options...
RecklessCounty Posted July 6, 2007 Share Posted July 6, 2007 Re: [v1 & LITE] Crime Item Mod Can You post the part that credits user money for completing a crime I can't find it. Is it in criminal.php? Quote Link to comment Share on other sites More sharing options...
seanybob Posted July 6, 2007 Author Share Posted July 6, 2007 Re: [v1 & LITE] Crime Item Mod docrime.php (apologies, should have specified that) Quote Link to comment Share on other sites More sharing options...
iseeyou94056 Posted July 6, 2007 Share Posted July 6, 2007 Re: [v1 & LITE] Crime Item Mod what realy does this do does it make it so the user gets a item when passin a crime Quote Link to comment Share on other sites More sharing options...
Jesse60905 Posted July 6, 2007 Share Posted July 6, 2007 Re: [v1 & LITE] Crime Item Mod I'm holding back sarcasm... Yes it does. Quote Link to comment Share on other sites More sharing options...
RecklessCounty Posted July 6, 2007 Share Posted July 6, 2007 Re: [v1 & LITE] Crime Item Mod Would this be the SQL Query? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
KyleCrispy Posted July 6, 2007 Share Posted July 6, 2007 Re: [v1 & LITE] Crime Item Mod yes 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.