Jump to content
MakeWebGames

I need a mod, will pay.


Guest Null

Recommended Posts

Okay, so ive been real busy lately, and i dont really have time to make this mod. So here it is.

Breakable and unbreakable items. Like when u attack someone, if the item is breakable,you could do a rand function that uses like rand($var['var'],100); where the item break chance would be var,var,and the item breaks. I will pay. Thanks :).

Link to comment
Share on other sites

Trust me $20 is too much to pay.

It's simply another row in a table and an if() statement.

Someone might 'flame' me for saying it, but I don't want him paying to much for something so simple. =)

agreed,bit somepeople willcharge that for there time spent making a mod, why work for person x for $10 when you can work for person y for $50

Link to comment
Share on other sites

Zedd I told him the same thing in PM's

>,<

Told him how to make it to :|

 

I had it to the point where it was deleting items after they break, but i couldnt end the session so after u click attack again u lose all exp

Link to comment
Share on other sites

Ok.

if($r1['break']){
$rand = rand(100,100);
if($_GET['wepid'] == $ir['equip_primary'] && $rand=="100"){
print "Hey, Weapon Broke 1
";
$db->query("UPDATE users SET equip_primary=0 WHERE userid=$userid");
}
if($_GET['wepid'] == $ir['equip_primary'] && $rand=="100"){
print "Hey, Weapon Broke 2
";
$db->query("UPDATE users SET equip_primary=0 WHERE userid=$userid");
}
if(!$ir['equip_primary'] && !$ir['equip_secondary']){
$db->query("UPDATE users SET hp=0 WHERE userid=$userid");
$db->query("UPDATE hospital SET hosptime=15,hospreason='Lost to '.$odata['username'].' WHERE userid=$userid");
print "You have no more weapons, You lose";
$h->endpage();
exit;
}
}

is what i have, but when they dont have the items, i want the session to end so they dont lose exp. Also the Primary Weapon: should update when its item is not there.

Link to comment
Share on other sites

Okay to ellaborate further, im not sure if im supposed to do this but, if you've heard of exmafia and played it, u'd know what kinda item break im talking about.

Link to comment
Share on other sites

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