HITMAN 17 Posted November 10, 2008 Share Posted November 10, 2008 Ok guys this is a request as i have just joined a game and seen that on crimes there is an item needed to do a crime if i wanted to do this how would i do this what would the code be where would i put it and is there any sql for it Quote Link to comment Share on other sites More sharing options...
shaved92bravada Posted November 10, 2008 Share Posted November 10, 2008 Re: [MCV1]Crimes Need An Item you would need to add into your crimes table something like crimeITEMNEEDED then you would have to do a query to check inventory to see if the user had the correct item in their inventory that matches the crimeITEMNEEDED. if they had it they could do it, if not then ............ Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 10, 2008 Author Share Posted November 10, 2008 Re: [MCV1]Crimes Need An Item ok emm could you like make it mate shaved as i know your mods are really great and you are learning fast if you could do this great Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 11, 2008 Share Posted November 11, 2008 Re: [MCV1]Crimes Need An Item lol omg the way some peopel go about stuff Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 11, 2008 Author Share Posted November 11, 2008 Re: [MCV1]Crimes Need An Item lol well i would make it myself if i new what files to edit and some examples Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 11, 2008 Share Posted November 11, 2008 Re: [MCV1]Crimes Need An Item its basically just like he said...just add a file in your crime table. called crimeITEM then make a item for examle ill say crime_tool now find out what that item id is...add that into the crimeITEM table....then edit your docrime.php to which crime you want it to be and just add an if statement to wher they have to have that crimITEM in there inventory or die statement. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 11, 2008 Author Share Posted November 11, 2008 Re: [MCV1]Crimes Need An Item lol ok im not asking for much but can you give me the crime file part please not the sql the actual code like you would do it Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 12, 2008 Share Posted November 12, 2008 Re: [MCV1]Crimes Need An Item see...begging.....and if it wasnt asking for much then you could do it.... I dont help people thatjust jump on here and ask for codes.....take your self to php.net and learn Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 13, 2008 Author Share Posted November 13, 2008 Re: [MCV1]Crimes Need An Item lol you couldnt do it also i am learning if you didnt know and dont jump on here for codes Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted November 15, 2008 Share Posted November 15, 2008 Re: [MCV1]Crimes Need An Item i couldn't do it? LMFAO....dumbass look at my game.. And you should Learn BEFORE your ass jumps on google and gets mccodes Illegally and trys to get rich quick with a game. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 16, 2008 Author Share Posted November 16, 2008 Re: [MCV1]Crimes Need An Item illegal hahahaha Quote Link to comment Share on other sites More sharing options...
Saha Posted March 15, 2009 Share Posted March 15, 2009 Re: [MCV1]Crimes Need An Item H1TM4N seriously AlabamaHit could do it but how would you learn if people did it all for you he is practically doing you a favour by not telling you. Pay attension to all the posts and visit php.net and learn all you can there are brilliant coders on CE who are still learning more and more each day, you should start by taking advice and trying things yourself. Quote Link to comment Share on other sites More sharing options...
Faz` Posted March 15, 2009 Share Posted March 15, 2009 Re: [MCV1]Crimes Need An Item I'm a noob, and to be honest, with the explanation AlabamaHit gave you (thorough and precise) and body with the least coding knowledge could do it. Quote Link to comment Share on other sites More sharing options...
Dave Posted March 15, 2009 Share Posted March 15, 2009 Re: [MCV1]Crimes Need An Item Try to make it yourself... i spent about 7 hours trying to write something in visual basics (Which didn't work) but in the process i learnt quite alot about how Visual Basics works by contacting mates and searching google for what i was trying to do.... 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.