Jump to content
MakeWebGames

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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.

  • 3 months later...
Posted

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.

Posted

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.

Posted

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

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