Feky Posted July 17, 2009 Posted July 17, 2009 i dont know if this has been done before but i made a tiny addon to the org crimes so user can set minimum and maximum respect for passing an oc staff_orgcrimes.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add this to your cron_hour.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. add this function You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. under this function in global_func.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. replace the old oclog.php with this one You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Dayo Posted July 19, 2009 Posted July 19, 2009 Re: Respect from orgcrimes You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ... soz if you are r blackdragon Quote
Feky Posted July 19, 2009 Author Posted July 19, 2009 Re: Respect from orgcrimes this is not the full mod lol i this is only for the people that already installed it before and i thought i would just add the respect addon also but if you feel i should remove it then i will Quote
Dayo Posted July 19, 2009 Posted July 19, 2009 Re: Respect from orgcrimes im not saying do this or do that it just says //DO NOT RE-DISTRIBUTE so you will have to contact blackdragon Quote
Feky Posted July 19, 2009 Author Posted July 19, 2009 Re: Respect from orgcrimes im not saying do this or do that it just says //DO NOT RE-DISTRIBUTE so you will have to contact blackdragon i have searched for blackdragon to ask him but it says no such member found Quote
endo Posted August 2, 2009 Posted August 2, 2009 Re: Respect from orgcrimes this will not work as the event_add function does not exist in this file you need to add in include (DIRNAME(__FILE__) . "/globalfunctions.php"); or whatever it is Quote
CrazyT Posted August 2, 2009 Posted August 2, 2009 Re: Respect from orgcrimes You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Why add that, that is pointless. lol.. Just use the one already there?. echo "Money: ". money_formatter($ir['money']); OR.. echo "Money: \$". number_format($ir['money']); Quote
Feky Posted August 2, 2009 Author Posted August 2, 2009 Re: Respect from orgcrimes You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Why add that, that is pointless. lol.. Just use the one already there?. echo "Money: ". money_formatter($ir['money']); OR.. echo "Money: \$". number_format($ir['money']); started coding a month ago so i took the root i understood lol and it works perfectly for me this will not work as the event_add function does not exist in this file you need to add in include (DIRNAME(__FILE__) . "/globalfunctions.php"); or whatever it is the include (DIRNAME(__FILE__) . "/globalfunctions.php only needs to be added to the cron_hour.php and i only posted a part that need to be added in the cron_hour.php because most people might have different querys in their cron_hour.php Quote
thedestroyer Posted August 8, 2009 Posted August 8, 2009 Re: Respect from orgcrimes can someone help please i added this mod but my organised crimes go into minus hours e.g hours lefft: -2 :| 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.