TheBigChief Posted September 28, 2009 Share Posted September 28, 2009 I need help with two things. The first being car thefts. For some reason, no matter who commits a car theft you get the error "Its not allowed to use this function on staff members." I have looked intensively over the script and I'm sure it's pretty obvious but just can't get it. Second thing is creating a page that shows IP addresses for the users since the acp does not yet have that feature. Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted September 28, 2009 Author Share Posted September 28, 2009 First part sorted, thanks to the main man seanybob Quote Link to comment Share on other sites More sharing options...
mdshare Posted September 28, 2009 Share Posted September 28, 2009 [infobox]Please post the fix if possible so other members don't have to request it again, thanks[/infobox] Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted September 28, 2009 Author Share Posted September 28, 2009 Change to the code that belongs to "Its not allowed to use this function on staff members." to : if (1==2) { echo "Its not allowed to use this function on staff members."; }else{ I have also fixed the IP page but wil need some help making it admin viewable only then I can release as a free mod (any takers on the helping me?) Quote Link to comment Share on other sites More sharing options...
Taxed Posted September 29, 2009 Share Posted September 29, 2009 Hey Chief, Use the following code and put the content you want to be admin visable between the brackets. <?php if (in_array($name, $admin_array)){ } ?> Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted September 29, 2009 Author Share Posted September 29, 2009 Hey mate, thanks for the reply, I got it last night (as you can see in my free mod script) but it helps to know you and Jamie are also around when I get stuck. Quote Link to comment Share on other sites More sharing options...
mdshare Posted September 29, 2009 Share Posted September 29, 2009 And hopefully soon a lot more looking at the download stats of the Gangster Legends Basic game script/engine. Quote Link to comment Share on other sites More sharing options...
TheBigChief Posted September 29, 2009 Author Share Posted September 29, 2009 Lets hope so, it's not as in depth as mccode v2 or does it have as many free mods but it offers loads that I needed like killing (I asked so many people for that on mccode and not 1 person could do it.) Quote Link to comment Share on other sites More sharing options...
Taxed Posted September 29, 2009 Share Posted September 29, 2009 I find gangster legends is useful for customizing. Theres not many scripts out for it. But its a good engine. A lot more secure than mccode aswell. I would like to see a lot more people using it. Quote Link to comment Share on other sites More sharing options...
albenski Posted December 10, 2009 Share Posted December 10, 2009 just installed this game Wow this game looks sweet i just installed it and looks real nice I will be asking a lot of questions about it 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.