Magictallguy Posted May 17, 2013 Share Posted May 17, 2013 (edited) This mod was requested by Bennyh789 on this topic This can also be found on my site here: http://magictallguy.tk/mods.php?mod=12 Gang Kidnap Edit gangs.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add above You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edit yourgang.php Find (at the bottom of the file) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find the closing brace of the gang_staff_idx() function Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edit header.php Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add above You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find in the menuarea() function You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Change to You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Find You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add below You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQLs You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited February 28, 2019 by Magictallguy Updated code, again Quote Link to comment Share on other sites More sharing options...
Razor42 Posted May 20, 2013 Share Posted May 20, 2013 Nice mod will be using this just one question, is it 100% guaranteed you can kidnap the person or is their a chance of failing and going hospital, jail or even your gang member getting kidnapped from it? Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 20, 2013 Author Share Posted May 20, 2013 Nice mod will be using this just one question, is it 100% guaranteed you can kidnap the person or is their a chance of failing and going hospital, jail or even your gang member getting kidnapped from it? 100% currently, I can easily modify it to have the chance effect if you'd like? Quote Link to comment Share on other sites More sharing options...
Smokey Posted May 20, 2013 Share Posted May 20, 2013 I am currently using an old gang kidnapping mod, very simple but not made very well. I am also in the middle of converting a Faction mod into a Cartel Mod with lots of new stuff added, I do believe I'm going to work this mod into the Cartels as it looks much more comprehensive :thumbsup: Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 20, 2013 Author Share Posted May 20, 2013 (edited) Nice mod will be using this just one question, is it 100% guaranteed you can kidnap the person or is their a chance of failing and going hospital, jail or even your gang member getting kidnapped from it? Untested Replace the gang_kidnap() function in yourgang.php with this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Any bugs, post here I am currently using an old gang kidnapping mod, very simple but not made very well. I am also in the middle of converting a Faction mod into a Cartel Mod with lots of new stuff added, I do believe I'm going to work this mod into the Cartels as it looks much more comprehensive :thumbsup: Thank you :) Edited September 14, 2013 by Magictallguy Updated the code, removed a few bugs Quote Link to comment Share on other sites More sharing options...
Bennyh789 Posted September 12, 2013 Share Posted September 12, 2013 does anybody have a working copy of this? As i have tried to install but getting a fair few errors will post errors if no-one has a copy Quote Link to comment Share on other sites More sharing options...
SRB Posted September 12, 2013 Share Posted September 12, 2013 does anybody have a working copy of this? As i have tried to install but getting a fair few errors will post errors if no-one has a copy Post your errors. Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted September 14, 2013 Author Share Posted September 14, 2013 Code updated, I believe there should be no bugs now Quote Link to comment Share on other sites More sharing options...
Bennyh789 Posted September 14, 2013 Share Posted September 14, 2013 Code updated, I believe there should be no bugs now Thanks MTG I do believe I promised you some cookies! Have got some awesome Oreo birthday cake cookies that i got imported form the states if you want to try :-) Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted September 14, 2013 Author Share Posted September 14, 2013 Thanks MTG I do believe I promised you some cookies! Have got some awesome Oreo birthday cake cookies that i got imported form the states if you want to try :-) You know, that sounds pretty cool.. Let's do that! xD Quote Link to comment Share on other sites More sharing options...
Bennyh789 Posted September 14, 2013 Share Posted September 14, 2013 (edited) Just the two minor errors. When I am putting: <td>",(($gangdata['gangID'] != $ir['gang']) ? "<a href='gangs.php?action=kidnap&ID=".$gangdata['gangID']."&u=".$r['userid']."'>Kidnap</a>" : ''),"</td> where it should go I get the error: Parse error: syntax error, unexpected '<' in /home/endoftim/public_html/gangs.php on line 106 And when I type the kidnap link in manually I get: QUERY ERROR: Query was empty Query was My manual link: ww.endoftimez.com/gangs.php?action=kidnap&ID=2&u=2 The Id IS in that gang Thanks Ben Edited September 14, 2013 by Bennyh789 Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted September 15, 2013 Author Share Posted September 15, 2013 Send me that section of your yourgang.php (via PM), I'll have a look and see what's going wrong there. That code should work fine Quote Link to comment Share on other sites More sharing options...
Smokey Posted September 19, 2013 Share Posted September 19, 2013 I was just going over the kidnapping sections while converting this to fit with my Cartels and I happened to notice that the 2 queries needed to deduct from one and pay the other gang are not there :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...
Magictallguy Posted September 19, 2013 Author Share Posted September 19, 2013 I was just going over the kidnapping sections while converting this to fit with my Cartels and I happened to notice that the 2 queries needed to deduct from one and pay the other gang are not there :P You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thank you, original code updated and optimised slightly Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted September 21, 2013 Author Share Posted September 21, 2013 Code updated, stupid syntax highlighter -.- Quote Link to comment Share on other sites More sharing options...
Bennyh789 Posted October 29, 2013 Share Posted October 29, 2013 Any news resolving this for me MTG? Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted October 29, 2013 Author Share Posted October 29, 2013 Original code updated and tested :) Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted February 28, 2019 Author Share Posted February 28, 2019 Code updated 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.