pspotential Posted June 3, 2007 Posted June 3, 2007 First is n00by as hell but 1.how do i check a items id number 2.is there any way to be able to use a item you need a other certain item eg: to use cocaine you need a crack pipe 3.how do you make it so tht you can use a item and it stays in your inventory Quote
GoldenZero Posted June 3, 2007 Posted June 3, 2007 Re: A Few Things I Want To Ask....... its easy to do all of those things 1. http://domain/iteminfo.php?ID=## 2. if(!$r['itmid']==#) { die("You need a crack pipe to use cocaine") } 3. just dont make it delete itself Quote
pspotential Posted June 4, 2007 Author Posted June 4, 2007 Re: A Few Things I Want To Ask....... ok number 1: thnx number 2 where do i add this number 3: how do i do tht would be easy if you were on msn golden :P Quote
GoldenZero Posted June 4, 2007 Posted June 4, 2007 Re: A Few Things I Want To Ask....... [email protected] add me Quote
pspotential Posted June 4, 2007 Author Posted June 4, 2007 Re: A Few Things I Want To Ask....... i have it says ur on a mobile deviceand i have to buy sumate Quote
hamster01 Posted June 4, 2007 Posted June 4, 2007 Re: A Few Things I Want To Ask....... Item id's isn't the same everywhere. Quote
pspotential Posted June 4, 2007 Author Posted June 4, 2007 Re: A Few Things I Want To Ask....... cna somebody just fully explain 2 & 3 plz Quote
hamster01 Posted June 4, 2007 Posted June 4, 2007 Re: A Few Things I Want To Ask....... What do you want to know? Golden0's example is not the proper way. To check if it isn't the number specified you would use: if ($_GET['ID'] != 2){ echo 'The item is not item number two.'; exit; } For your third question, you will need to make an external script to do that. its easy to do all of those things 1. http://domain/iteminfo.php?ID=## 2. if(!$r['itmid']==#) { die("You need a crack pipe to use cocaine") } 3. just dont make it delete itself Quote
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.