Jump to content
MakeWebGames

[mccodes v2] Refill A Specific User Aswell as Refill All Users


Uridium
 Share

Recommended Posts

Small Addon for the staff_special.php

This will enable you to refill ONE users energy, health, will, Brave

open up staff_special.php

Add these two cases to where you want them,

 

You're unable to view this code.

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

 

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

 

Now open up smenu.php or admin.php

and add this just under the refill all users link

 

You're unable to view this code.

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

 

And your done

Link to comment
Share on other sites

Re: [ADDON] V2 Refill A Specific User Aswell as Refill All Users

 

this maybe a silly question but Why on earth would you need this?

but nicely coded + 1

Personally I use it on my test site. Makes it easier than going in and editing the database...IMO

Thanks for the add-on +1

Link to comment
Share on other sites

Re: [ADDON] V2 Refill A Specific User Aswell as Refill All Users

 

Some of you may need to edit it like this:

}

function fill_one()

{

global $db,$ir,$c,$h,$userid;

In order for this to work. Please keep up the good work

JD your Edit is exactly the same as the one i posted ? your script may have been missing a ) but if you look at the edit on the NOW FIND you'll see it was already closed with out a )

Link to comment
Share on other sites

  • 4 weeks later...

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