Jump to content
MakeWebGames

[Mod] Search For Points [Mod]


Veasey

Recommended Posts

Add this SQL to the database:

[mysql]ALTER TABLE `grpgusers` ADD `searchuptown` int(3) NOT NULL default '10',

[/mysql]

make a new file called uptown.php, paste the following code in and save:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

open up rollover.php and find:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and replace with:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Link to comment
Share on other sites

[Mod] Search For Points [Mod]

save that page and now open classes.php and paste in the following code:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and dont forget to add the link to your city.php so members and go on it, that should be it, enjoy!

P.S --> you can change the turns and how many you collect on there

look for:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

that 10 means how many searches you can do on that page, if you change it to 20 you will have to edit your users sql

[mysql]ALTER TABLE `grpgusers` CHANGE `searchuptown` `searchuptown` INT( 3 ) NOT NULL DEFAULT '20'

[/mysql]

like that and the other part is changing how many points you get

look for:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

you can change the 2 to a different number for example 5 this will change the search find more points 0-5 chances basicly and you dont have to change the SQL for that bit

Enjoy

Link to comment
Share on other sites

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