Jump to content
MakeWebGames

Recommended Posts

Posted

This Is My First Attempt On Making A Mod Please Try It Out

Basiclly you buy a sweet and you eat it straight away and your energy will go up by a bit.

Create A file called energysweetshop.php

You're unable to view this code.

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

 

Please Tell Me If theres anything wrong or any errors because i want to fix it myself i need to learn if i still cant fix it then i will ask for help and you can post the right one.

You Can change the energy to anything you want even the name of the shop and the price.

Posted

Re: [mccodes V.2]Energy Sweet Shop

whats with all the Hash statements ? those being #

include "globals.php";

much easier to

include "globals.php";

Your just confusing things with so many Hash statements

Posted

Re: [mccodes V.2]Energy Sweet Shop

 

whats with all the Hash statements ? those being #

include "globals.php";

much easier to

include "globals.php";

Your just confusing things with so many Hash statements

ok i'll fix that
Posted

Re: [mccodes V.2]Energy Sweet Shop

Its what he edited it in. If im not mistaking it, If you copy and paste it to Notepad, It will remove all the #'s for you. Have found this in alot of old posts. As i said, I could be wrong.

Posted

Re: [mccodes V.2]Energy Sweet Shop

Getting a decent text Editor is a good thing one that will highlight your script and reveal what may be errors..

 

Watch what happens when i post your bit of code here and then correct it notice the colour changes..

YOUR PART

<?

You're unable to view this code.

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

 

MY PART

 

You're unable to view this code.

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

 

Even posting on here can give you and idea if the Script is right or wrong...

Posted

Re: [mccodes V.2]Energy Sweet Shop

Ahh i think i dont know how to fix this can you just do it for me please ad anyway it dont need to be changed but for others to understand.

Posted

Re: [mccodes V.2]Energy Sweet Shop

Try This Instead

You're unable to view this code.

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

 

More Legible...

Better Coding...

Nice Attempt Tho...

Posted

Re: [mccodes V.2]Energy Sweet Shop

Not sure how you got bar23.php in yours as it isnt even mentioned on ISHZ script lol

 

You're unable to view this code.

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

Posted

Re: [mccodes V.2]Energy Sweet Shop

 

 

Not sure how you got bar23.php in yours as it isnt even mentioned on ISHZ script lol

 

You're unable to view this code.

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

 

 

what do u mean by the 'Not sure how you got bar23.php in yours as it isnt even mentioned on ISHZ script lol'

Posted

Re: [mccodes V.2]Energy Sweet Shop

Great addon.

Just a small edit if I may.

Use the code below at the end of the script.Originally, the 2nd script indicated had energysweetshop.php.php for "Back to shop"

The code below corrects that :-P

 

You're unable to view this code.

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

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