Jump to content
MakeWebGames

[mccode v2] Cannot be attacked for 2 days


Guest Sniko`
 Share

Recommended Posts

Okay ive created this because i found out that (well made this bit up so it sounds good) higher levels were just attacking new ones to p!55 them off.

Not sure if its been created SORRY IF IT IS AND GICVE CREDIT TO THE ONE WHO MADE IT FIRST (IF IT WAS CREATED)

in attack.php find

You're unable to view this code.

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

 

UNDER IT ADD

You're unable to view this code.

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

 

Easy But Effective For The N00bs, Will Give Them A Chance And Hopefully Will Get More Pople Playing Because They Are Not In Hospital For 24/7

REPLY GOOD COMMENTS PLEASE

Link to comment
Share on other sites

Re: [v2] Cannot be attacked for 2 days

Another version....

If($ir['level']>5 && $odata['level'] < 5 && $odata['daysold'] < 10 && $odata['fedjail'] < 1)

{

print "I'm sorry, but at your level, you cannot attack players under level 5 that joined less than 10 days ago, unless they are banned.

 

> Back";

$_SESSION['attacking']=0;

$ir['attacking']=0;

$db->query("UPDATE users SET attacking=0 WHERE userid=$userid");

exit;

}

Link to comment
Share on other sites

Re: [v2] Cannot be attacked for 2 days

 

Another version....

If($ir['level']>5 && $odata['level'] < 5 && $odata['daysold'] < 10 && $odata['fedjail'] < 1)

{

print "I'm sorry, but at your level, you cannot attack players under level 5 that joined less than 10 days ago, unless they are banned.

 

> Back";

$_SESSION['attacking']=0;

$ir['attacking']=0;

$db->query("UPDATE users SET attacking=0 WHERE userid=$userid");

exit;

}

looks nice Ragnar :D

Link to comment
Share on other sites

  • 1 month later...
  • 5 weeks later...

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.

 Share

×
×
  • Create New...