Jump to content
MakeWebGames

Recommended Posts

Posted

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.

Posted

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

Posted

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

Posted

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

  • 2 weeks later...
Posted

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

Posted

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']);

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...