Dayo Posted May 14, 2009 Posted May 14, 2009 Thugs havent added a mod in a while so here you go ... This mod will alow users to hire, train and upgrade there thugs. this is the core system as i will be relesing new features to this for example one will be a weekly income from your thugs as they go out and extort cash from businesses (soz my spelling isnt ne good :P). All vital values can be edited via the thug-globals.php. make a file called thugsqlinstaller.php, then run it, after that delet the file You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Right make a file called thug-globals.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Make file called staff_thugitems.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. more adding soon ... Quote
Dayo Posted May 14, 2009 Author Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) make file mythugs.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. also add on mainmenu.php a link to mythugs.php (<a href = "mythugs.php">Thugs</a> this was spose to be a paid mod but im giving it free so enjoy :D Quote
Guest Sniko` Posted May 14, 2009 Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) Nice one +1 Quote
CrazyT Posted May 14, 2009 Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You could of used a array(); $thug_config = array('hideoutcost' => 25000, 'thugcost' => 10000, 'maxthugs' => 15 'thugtraintime' = 5); Not to sure how to put if there donoator you get more what about IF() ? Quote
Dayo Posted May 14, 2009 Author Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) i done that for ease of use and edit as not all users on ce know php Quote
Haunted Dawg Posted May 14, 2009 Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Something like that maybe, then to call just use: $ars['var']; Quote
CrazyT Posted May 14, 2009 Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) Ahh Yes Haunted Dawg Had it :) I forgot about that way :P Quote
Dayo Posted May 14, 2009 Author Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) oh yea add this to cron min You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dayo Posted May 14, 2009 Author Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) BUG FIX the training wasent woking soz mythugs.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
MyGunWars Posted May 14, 2009 Posted May 14, 2009 Re: [MC-Codes][V2]Thugs (core system) Sounds Like A Good Mod Dayo. Quote
Dayo Posted May 15, 2009 Author Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) thanx Quote
Uridium Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You could of used a array(); $thug_config = array('hideoutcost' => 25000, 'thugcost' => 10000, 'maxthugs' => 15 'thugtraintime' = 5); Not to sure how to put if there donoator you get more what about IF() ? What is it with this Girl and Arrays shes Array mad. Quote
Wickidnezz Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) maybe she get turned on by Arrays nice mod dayo +1 for ya Quote
CrazyT Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You could of used a array(); $thug_config = array('hideoutcost' => 25000, 'thugcost' => 10000, 'maxthugs' => 15 'thugtraintime' = 5); Not to sure how to put if there donoator you get more what about IF() ? What is it with this Girl and Arrays shes Array mad. lol. No, its just simpler using array on some stuff. Quote
Strats Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) I'm gonna try this out. Looks good! Quote
Strats Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) I like this alot, I went through it and just fixed your spelling mistakes and made it a bit more tidy. Just trying to be nice! I finally can add a useful comment to a post lol Here : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Lithium Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) Lol, Strats finally discovered the gunpowder :P ;) Quote
Zero-Affect Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. am i wrong in thinking that looks a little unusual? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i suggest looking up case and switch for starters, may help alot Quote
CrazyT Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) Warning - while you were typing a new reply has been posted. You may wish to review your post. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You can tidy this code up with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There's loads more you can use. You should make a function so you don't have to keep having to type You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Example. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Then all you have to do is You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Blackdogg Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) I dont know if this has happened to anyone else but one you buy your hideout then purchase a thug then by pressing back on the browser screen it gives everyone in the game a 20 digit or more amount of money Quote
Zero-Affect Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) forgot afew You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. we all know what php.net is :roll: lets see lol ill make some ridiculously secured code now You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. if you don't get what im trying to say then please re-read or don't even comment. Quote
Strats Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) I dont know if this has happened to anyone else but one you buy your hideout then purchase a thug then by pressing back on the browser screen it gives everyone in the game a 20 digit or more amount of money Glad I'm not the only one with a problem lol Every one on my game got negative money. Quote
Lithium Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) a quick look at the code... and the problem is here... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. shouldn't this be... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Just in case, those who are using this... just replace that line and test it... Edited... Found another one... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. should be... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
CrazyT Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) lol @ Zero-Affect. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. To many to list. Quote
Strats Posted May 15, 2009 Posted May 15, 2009 Re: [MC-Codes][V2]Thugs (core system) Here this is it with Lithium's fix : You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. 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.