TMan Posted May 21, 2009 Posted May 21, 2009 Well the way things are going I'll never complete this mod for sale..... So here you guys go. Have fun with it there could be many add-ons for this. As of right now it's just a place for gang pres/VP's to buy spots/territories for a $$ deposit daily to their gang vault. I wanted to add to attack so gangs could battle for Territories... I also wanted to make a staff_gangs edit for the price/payout/name of the territories. But due to loads of work and everything else I won't be able to finish this, and i feel you guys could do good with this if someone has the time and ambition. lol (also you may notice im still quite new to php and coding so give me a break lol) http://i630.photobucket.com/albums/uu21/Roach261/gangwars.png You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. OPEN: creategang.php FIND: $db->query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'')"); CHANGE TO: $db->query("INSERT INTO gangs VALUES('','$name','$desc','','',0,0,100,$userid,$userid,5,0,0,'',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)"); OPEN: cron_day.php FIND: $db->query("UPDATE users SET cdays=cdays-1 WHERE course > 0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney/50) where bankmoney>0"); $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney/50) where bankmoney>0 and donatordays>0"); $db->query("UPDATE users SET cybermoney=cybermoney+(cybermoney/100*7) where cybermoney>0"); ADD: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
TMan Posted May 21, 2009 Author Posted May 21, 2009 Re: Great Potential The Code:gangwars.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
TMan Posted May 21, 2009 Author Posted May 21, 2009 Re: Great Potential CONTINUE after func10: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
TMan Posted May 21, 2009 Author Posted May 21, 2009 Re: Great Potential CONTINUE after end func's: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
CrazyT Posted May 21, 2009 Posted May 21, 2009 Re: Great Potential You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Dam 25 querys OMG lol Quote
b4ugobye Posted May 21, 2009 Posted May 21, 2009 Re: Great Potential lets give him props for trying and sharing, as he stated he is still new to php coding... instead of lol'ing about too many querys and telling him to use just 1... help him along and post the one query. :-D Quote
MyGunWars Posted May 22, 2009 Posted May 22, 2009 Re: Great Potential Sounds Like A Kool Mod I Going To Use It But Fix It Up Some More Quote
Uridium Posted May 22, 2009 Posted May 22, 2009 Re: Great Potential Im going to give you +1 for making something unique and hope you will sahre more scripts. :) Quote
MDK666 Posted May 22, 2009 Posted May 22, 2009 Re: Great Potential Im going to give you +1 for making something unique and hope you will sahre more scripts. :) lol sounds like your tired illusions, and its share :wink: but ill also give you a +1 as this mod does give us coders alot of potential to work with the gangs Quote
Hawk Posted May 24, 2009 Posted May 24, 2009 Re: Great Potential You could make it 1 :lol: instead of saying you could make it one why not put how he could make it into 1 then he would know next time Quote
girardz Posted September 15, 2009 Posted September 15, 2009 Wouldnt it be: [mysql]ALTER TABLE `gangs` ADD (`gangTER1` int(1) NOT NULL default '0', `gangTER2` int(1) NOT NULL default '0',`gangTER3` int(1) NOT NULL default '0',`gangTER4` int(1) NOT NULL default '0',`gangTER5` int(1) NOT NULL default '0',`gangTER6` int(1) NOT NULL default '0',`gangTER7` int(1) NOT NULL default '0',`gangTER8` int(1) NOT NULL default '0', `gangTER9` int(1) NOT NULL default '0',`gangTER10` int(1) NOT NULL default '0',`gangTER11` int(1) NOT NULL default '0',`gangTER12` int(1) NOT NULL default '0',`gangTER13` int(1) NOT NULL default '0',`gangTER14` int(1) NOT NULL default '0',`gangTER15` int(1) NOT NULL default '0', `gangTER16` int(1) NOT NULL default '0',`gangTER17` int(1) NOT NULL default '0',`gangTER18` int(1) NOT NULL default '0',`gangTER19` int(1) NOT NULL default '0',`gangTER20` int(1) NOT NULL default '0',`gangTER21` int(1) NOT NULL default '0',`gangTER22` int(1) NOT NULL default '0', `gangTER23` int(1) NOT NULL default '0',`gangTER24` int(1) NOT NULL default '0',`gangTER25` int(1) NOT NULL default '0');[/mysql] Quote
.: Reaper :. Posted September 17, 2009 Posted September 17, 2009 +1 great mod will give my users somthing to play with haha :) Quote
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.