Jump to content
MakeWebGames

[mccode v1] Gift.php


Arkvoodle`
 Share

Recommended Posts

Just a little mod I randomly decided to make when I was desperatly bored about 5 minutes ago.

Tested and works.

Mc V1

It credits the user $1000*their level and 5 crystals. Obviously you can edit this if your heart so desires...

Can only be used once a day, or week, or month depending on where you put the cron.

Make a file called gift.php and add this;

You're unable to view this code.

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

 

Open up explore.php and find;

You're unable to view this code.

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

 

and underneath add;

You're unable to view this code.

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

I'm perfectly awere that I have a SELECT function in the mod that is not used, I decided to leave it in 'cause I'm lazy... What you guna do 'bout it punk?

SQL

You're unable to view this code.

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

Sorry if the sql doesn't work I literally just made it up now lol.

And finally the cron info. (Which I added in daysoldcron)

You're unable to view this code.

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

 

Optional

Open header.php and find the part where it blabs on about donating and replace it with;

You're unable to view this code.

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

Images:

bullet_blue.png

or

http://demanufacture.xtreemhost.com/v1/ ... t_blue.png

And you have a crappy 5 minute mod with no shitty credits. 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.

 Share

×
×
  • Create New...