Ishraq Posted October 12, 2008 Share Posted October 12, 2008 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. Quote Link to comment Share on other sites More sharing options...
Uridium Posted October 12, 2008 Share Posted October 12, 2008 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 Quote Link to comment Share on other sites More sharing options...
Ishraq Posted October 12, 2008 Author Share Posted October 12, 2008 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 Quote Link to comment Share on other sites More sharing options...
blue Posted October 12, 2008 Share Posted October 12, 2008 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. Quote Link to comment Share on other sites More sharing options...
Uridium Posted October 12, 2008 Share Posted October 12, 2008 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... Quote Link to comment Share on other sites More sharing options...
Ishraq Posted October 12, 2008 Author Share Posted October 12, 2008 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. Quote Link to comment Share on other sites More sharing options...
Paddy Posted October 12, 2008 Share Posted October 12, 2008 Re: [mccodes V.2]Energy Sweet Shop nice little mod there well done "you should check your game" Quote Link to comment Share on other sites More sharing options...
Karlos Posted October 12, 2008 Share Posted October 12, 2008 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... Quote Link to comment Share on other sites More sharing options...
Uridium Posted October 12, 2008 Share Posted October 12, 2008 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. Quote Link to comment Share on other sites More sharing options...
Karlos Posted October 12, 2008 Share Posted October 12, 2008 Re: [mccodes V.2]Energy Sweet Shop Lol. Fixed...I Was Editing My Bar23 Script To Sort Out The sprinf() :wink: Quote Link to comment Share on other sites More sharing options...
Ishraq Posted October 12, 2008 Author Share Posted October 12, 2008 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' Quote Link to comment Share on other sites More sharing options...
Karlos Posted October 12, 2008 Share Posted October 12, 2008 Re: [mccodes V.2]Energy Sweet Shop You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Wtf?? $db-> Surely $db->query Quote Link to comment Share on other sites More sharing options...
avguste Posted October 12, 2008 Share Posted October 12, 2008 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. Quote Link to comment Share on other sites More sharing options...
Karlos Posted October 13, 2008 Share Posted October 13, 2008 Re: [mccodes V.2]Energy Sweet Shop XD lol missied that out XD Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.