Jump to content
MakeWebGames

Recommended Posts

Posted

Hey There,

I want some ideas of mods so i can create and sell/give away.

Here is what i offer:

Free mods will be:

2 files

sqls

Paid mods will be:

2+ files

sqls

images

etc...

If the mod is 2 files or less i will give it away for free if its 2+ files i will charge about $5 - $30 my highest priced mod every made was $25 wich was actualy like 16 files.

This mod will be created during the week days on my spare time but i will make them.

IDEAS MUST BE UNIQUE and by unique i mean no one has created this YET.

Thanks you can either contact me here or via msn [email protected]

Posted

Re: Ideas...

I do not have a problem with your grammer as i know you just want to prove to people here that you can talk. But i bet you dont talk like you talk here on msn do you?

And what i mean is:

IF YOU DONT HAVE NOTHING NICE TO SAY THEN SHOVE IT UP YOUR ASS.

Posted

Re: Ideas...

I have an idea, It's something that sounds good to me :)

User's can buy an item from the shops named "Poision" and if you have this item, When you attack someone you get the links "Leave them" Mug them" "Hosp them" "Inject with Poision" Or something like that, But only if they have the item, And then, when they have injected this person, They go to hospital for a LONG time. And the item Poison is removed from your inventory.

:D

Posted

Re: Ideas...

Not a mod but anyways.

Here is the steps to get this working:

1.- Create The Item.

2.- Go into your database and check the id of the item.

3.- Add the following code to your attack script:

$code = "item id here";
$a = mysql_query("SELECT * FROM inventory WHERE inv_userid = '{$userid}' AND inv_itemid = '{$code}' ") or die(mysql_error());
$g = mysql_fetch_assoc($a);
if($g['inv_qty'] > 0) {
echo '<form action="poisen.php?user='.$r['userid'].'" method="get"><input type="submit" value="Poisen Them"></form>';
}

 

And here is the code for poisen.php:

 

<?php
include("globals.php");
$_GET['user'] = abs(@intval($_GET['user']));
$t = mysql_query("SELECT * FROM users WHERE userid = '{$_GET['user']}' ") or die(mysql_error());
$f = mysql_fetch_assoc($t);
if(mysql_num_rows($t) == 0) { die('User does not exist.'); }
$rand = rand(1,500); //Hospital Time
$reason = "Got injected with poisen"; //Hospital Reason
mysql_query("UPDATE users SET hospital = '{$rand}',hospreason = '{$reason}' WHERE userid = '{$_GET['user']}' ") or die(mysql_error());
event_add($_GET['user'],"You just got poisened by <a href=viewuser.php?userid=$userid>{$ir['username']}</a>");
//Replace this line with the item_remove code as i do not know it.
echo 'You poisened '.$f['username'].' for '.$rand.' time.';
$h->endpage();
?>

 

Add more code if you want to it.

USE THIS UPDATED ONE!!!

Posted

Re: Ideas...

$code = "10";

$t = mysql_query("SELECT * FROM items WHERE itmid = '{$code}' ") or die(mysql_error());

$g = mysql_fetch_assoc($t);

if($g['itm_qty'] > 0) {

echo '<form action="poisen.php?user='.$r['userid'].'" method="get"><input type="submit" value="Poisen Them"></form>';

}

}

That's what I have, But It's not showing up when I attack someone, I have the Item, and It's ID is 10. But I don't get the option to "Poisen Them"

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