Jump to content
MakeWebGames

[mccode v1]Starter Pack Item


Macintrash
 Share

Recommended Posts

I Wrote a small code block into itemuse.php, its basically an item that when used, gives the user medical items, a donator day, some cash and crystals etc.

 

You're unable to view this code.

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

 

Its really a very useful item, all you need to do is create the item and name it Starter Pack and it should work. You can also add an "event_add" to itemsend.php so that it tells you who send the item

Sorry i dont know how to use colored codes :(

Link to comment
Share on other sites

Re: [mccode v1]Starter Pack Item

 

I Wrote a small code block into itemuse.php, its basically an item that when used, gives the user medical items, a donator day, some cash and crystals etc.

 

You're unable to view this code.

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

 

Its really a very useful item, all you need to do is create the item and name it Starter Pack and it should work. You can also add an "event_add" to itemsend.php so that it tells you who send the item

Sorry i dont know how to use colored codes :(

Sorry, this item cannot be used as it has no effect.

thats what i get when i try to use it

Link to comment
Share on other sites

Re: [mccode v1]Starter Pack Item

Go to admin.php and find the bit thats for giving user Dp and copy and paste the bit where it says, you have been given a ?? donator pack by the administration. and stick it in itemuse.php.

I have my own version of this on my game and i also added this:

You're unable to view this code.

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

 

Just add this in on register.php under the registering data in DB. It's good.

If you use this +1 me :D:D:D:D:D:D:D:D:D:D:D

Jokeing i dont give a poop.

Ahaha i make myself laugh so bad it hurts.

Link to comment
Share on other sites

Re: [mccode v1]Starter Pack Item

For mc codes version 2

itemuse.php

below $r=$db->fetch_row($i);

You're unable to view this code.

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

 

Then just add a item call Starter Pack and make sure you add a effect it doesnt matter what it is... just so in inventory.php it has the link [use] by it.

Link to comment
Share on other sites

Re: [mccode v1]Starter Pack Item

Why not just do it like this?? The above ways are good to, I just like to clean it up a bit and make it easily customizable.

open itemuse.php

find

 

You're unable to view this code.

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

 

add this below

 

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

  • 3 weeks later...

Re: [mccode v1]Starter Pack Item

i've seen so many of these ej.am and co.cc websites using this and forgetting on minor thing to make the button disappear after the kit or days are over.

so say for example you set it for people under 5 days and the other row in the db updates also

You're unable to view this code.

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

 

how hard was that...

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