ishmell Posted April 21, 2009 Posted April 21, 2009 This is a simple search the streets mod I created. Im on the verge of making this into a more advanced one, which I may post later on. Add the fallowing sql: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add this to cronday.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create a page called streets.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Create a page called searchstreets.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Screenshot: Quote
Strats Posted April 21, 2009 Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets Looks cool. Can you find items on this streets? Quote
ishmell Posted April 21, 2009 Author Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets Thanks, in this one you can only find money. But in the advanced one that im on the verge of finishing, you can find items, money, crystals...etc depending on where you search. Quote
Isomerizer Posted April 21, 2009 Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets Image map completely pointless.... The co ordinates have no effect on whats gonna happen... All you need is one image with one link. Quote
ishmell Posted April 21, 2009 Author Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets Not if you want it to do multiple things depending on where you search like my advanced one will have. :wink: Quote
Strats Posted April 21, 2009 Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets I like it. I'll wait for your next one tho :) Quote
mentaljason Posted April 21, 2009 Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets can you not add items yourself... it's pretty basic, just add anothing think instead of updating the users money in the db update there inventory with what ever item id you want, here, You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think that will work... Quote
ishmell Posted April 21, 2009 Author Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets Yeh that works...im sure $db->query("INSERT INTO inventory VALUES('',ITEM ID,$userid,ITEM QUANTITY)"); would work allot better and less code to. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Im debating on if I want to post the advanced version as a free mod or not.... Quote
mentaljason Posted April 21, 2009 Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets Just ask yourself, 1) Would you pay for it, 2) is there better free scripts and 3)Could it easily be sold on.. (if you make any mod you shold email the code to yourself so that the date on the email will prove you created it.) Quote
noddy Posted April 21, 2009 Posted April 21, 2009 Re: [mccode v2]My Simple Search Streets im not knocking this, as i think it is quite good, but isnt it practically the same as others? oh and yeah the insert into will work, but im not sure about making a streets mod a paid mod, i would keep it as free ^^ Quote
DELETE ME NOW! Posted April 22, 2009 Posted April 22, 2009 Re: [mccode v2]My Simple Search Streets Here i updated the code for you xD smaller code also lol You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There! Quote
zbirc3 Posted April 22, 2009 Posted April 22, 2009 Re: [mccode v2]My Simple Search Streets Very nice mod, Ishmell. Quote
Strats Posted April 22, 2009 Posted April 22, 2009 Re: [mccode v2]My Simple Search Streets can you not add items yourself... it's pretty basic, just add anothing think instead of updating the users money in the db update there inventory with what ever item id you want, here, You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I think that will work... I can try lol Quote
DELETE ME NOW! Posted April 22, 2009 Posted April 22, 2009 Re: [mccode v2]My Simple Search Streets Adding items is easy.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Uridium Posted April 22, 2009 Posted April 22, 2009 Re: [mccode v2]My Simple Search Streets There are a few street scripts on here and some are able to place items into your inventory. have a browse about or even look at how your own items are placed into your inventory. on the staff_items.php theres a insert in the script that will help do what your looking for. But bare in mind when you do this with the above script the chances of finding the item will be far greater so make a small uncostly item. print"BLAH BLAH BLAH you found an hidden item check your inventory"; $db->query("INSERT INTO inventory VALUES('',1,$userid,1)",$c); } Change the 1 value to that of one of your own inventory item VALUES('',1,$userid,1)",$c); Quote
grimsybaby Posted April 22, 2009 Posted April 22, 2009 Re: [mccode v2]My Simple Search Streets this looks very similar to one that is on sale, http://criminalexistence.com/ceforums/i ... ic=17691.0 Quote
ishmell Posted April 24, 2009 Author Posted April 24, 2009 Re: [mccode v2]My Simple Search Streets I guess, im sure im not the first to think or make something like this. Quote
Uridium Posted April 24, 2009 Posted April 24, 2009 Re: [mccode v2]My Simple Search Streets this looks very similar to one that is on sale, http://criminalexistence.com/ceforums/i ... ic=17691.0 The one your referring to is a more advanced Search area nothing to do with streets. Damn glad i could edit lol Quote
grimsybaby Posted April 25, 2009 Posted April 25, 2009 Re: [mccode v2]My Simple Search Streets this looks very similar to one that is on sale, http://criminalexistence.com/ceforums/i ... ic=17691.0 The one your referring to is a more advanced Search area nothing to do with streets. Damn glad i could edit lol was just saying looks similer :P 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.