Jump to content
MakeWebGames

Recommended Posts

Posted

Yes, I realize this is about as easy as converting mods from Vers 1 to Vers 2.

But to me it's the small things :P

All this does is check to see if the person being attacked is in the same clan or not. If they are you can't attack them.

 

In attack.php

Find

 

You're unable to view this code.

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

 

After Add

 

You're unable to view this code.

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

 

And yipee, you're done.

Again, I know it's simple but blah :P +1 if you needed it like me ^_-

Also, if anyone would be so kind as to tell me what I could add to this

$stole=round($r['money']/(rand(200,5000)/10));

To make it where if the user doesnt have much cash I dont rob them for Negative Cash :P

I'd be much obliged.

Posted

Re: Cannot attack Clan Mates Addition Mod

 

Yes, I realize this is about as easy as converting mods from Vers 1 to Vers 2.

But to me it's the small things :P

All this does is check to see if the person being attacked is in the same clan or not. If they are you can't attack them.

 

In attack.php

Find

 

You're unable to view this code.

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

 

After Add

 

You're unable to view this code.

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

 

And yipee, you're done.

Again, I know it's simple but blah :P +1 if you needed it like me ^_-

Also, if anyone would be so kind as to tell me what I could add to this

$stole=round($r['money']/(rand(200,5000)/10));

To make it where if the user doesnt have much cash I dont rob them for Negative Cash :P

I'd be much obliged.

if ($stole > 0)

{

update the database query here

}

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