Jump to content
MakeWebGames

Recommended Posts

Posted

hi this mod took me very long time, and might still have bugs on it lol.

but it shouldnt ;)

first add the sql into the database...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then find in yourgang.php

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

and on top of it put this.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then... find ?> and put this on top of it.

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then where the links for the gangs staff panel is add these links whereever you want

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then finally in all the attack files e.g. (attacklost.php, attackwon.php, attackbeat.php and attacktake.php)

find...

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

replace it on all 4 files with this

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then in cron_day.php put this at the bottom on top of ?>

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Find any problems or bits ive missed please contact me.

Posted

WOW you acutally done this yourself, good work mate, but arnt you supposed to add a code to the declare war function to prevent gangs from declaring war on peaceful gangs.

Posted

wasnt you the one that asked someone to create this for you on dev-forum? lol.

also this peace mod is different... but also if you do the peace gang the way your talking about,

everyones gangs have peace mode on, then gangs be useless really lol.

________________________________________________________________

also i dont think i can ever make a mod like this again...

i think i was quite lucky on this one lol.

ive only made simple mods before.

  • 2 weeks later...
Posted
Simple, make peace mode take a set amount per day they state the amount of days when setting it and they cannot put it on while in a war.

huh? i dont get what you mean? lol.

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...