Jump to content
MakeWebGames

Could someone tell me what this ***** means.


Recommended Posts

Posted

Ok, so (Gambino) Sold a customer of mine this mod a few weeks back claiming it was "his" mod that he made just for them, when Obviously it's not because I have had this mod for about 7 months and considering they are on V2 and there are several calls to admin.php he's full of it....k rant over...anywho

I was fixing this mod for the customer and have everything done but this last bit...obviously the installation instructions could use some improvement...if ANYONE knows wth this means i'd appreciate it

2.open "Add All Costs.txt" and add the codes in a file where all users have 100 automatically.

Code he's referring to

$jsdf=mysql_query("SELECT * FROM items WHERE itmtype=4",$c);
while($add=mysql_fetch_array($jsdf))
{
mysql_query("INSERT INTO ammunition VALUES('{$add['itmid']}','100')",$c) or die(mysql_error());
print"{$add['itmname']} Ammo Added.";
}
Posted

:) Hi

By the looks of it, it is adding 'ammo' for all items with the type 4 (weps? maybe duno)

from the 'readme' it should be giving the users 100 ammo each (duno?) but the query will only insert the itemid (not userid)

Or it could be building a 'shop' like thing where it will list all weps and display how much ammo you can buy?

Not sure would need more code.

Posted

The bit about sticking it where all users have 100 is the tricky part

 

I'm taking it to mean, set it UP so all users would have 100 Ammo Automatically the first round...what do ya think? :\

Posted

Also, I know what bit he's referring to but where am I sticking it?

lol..where all users have 100

 

what does that even mean...am I over thinking something? ><

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