Jump to content
MakeWebGames

Silver

Members
  • Posts

    262
  • Joined

  • Last visited

Everything posted by Silver

  1. Re: [mccode] Mods 4 Sale - UPDATED POST pssh, like anyone agrees to that shit anymore thanks scarlet :)
  2. Re: [Free v1] Advanced Warning System yw and thanks for rep :-D
  3. Re: [mccode] Mods 4 Sale is bumping allowed? lol i guess i jus bumped :o
  4. Re: v1 cash logs content is a message, if u havent got a message set up add this to the query... mysql_query("INSERT INTO cashxferlogs VALUES('','$userid','{$_GET['userid']}','{$_POST['money']}',unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}','')",$c); the above query shud hav u fixed then :)
  5. Re: v1 cash logs Things to check 1) Everything is spelt correctly 2) The database table exists 3) There is the same number of fields as the data you are trying to insert. mysql_query("INSERT INTO cashxferlogs VALUES ('', $userid, {$_GET['ID']}, {$_POST['money']}, unix_timestamp(), '{$ir['lastip']}','{$er['lastip']}')",$c); CREATE TABLE `cashxferlogs` ( `cxID` int(11) NOT NULL auto_increment, `cxFROM` int(11) NOT NULL default '0', `cxTO` int(11) NOT NULL default '0', `cxAMOUNT` int(11) NOT NULL default '0', `cxTIME` int(11) NOT NULL default '0', `cxFROMIP` varchar(15) NOT NULL default '127.0.0.1', `cxTOIP` varchar(15) NOT NULL default '127.0.0.1', PRIMARY KEY (`cxID`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1; your cashxferlogs shud have a simular structure to that, if not the same
  6. Re: v1 cash logs mysql_query("INSERT INTO cashxferlogs VALUES('','$userid','{$_GET['userid']}','{$_POST['money']}',unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')",$c); u need ' around each side of the form posts
  7. Re: HELP [gym] shudnt this be in DBS support?
  8. Re: [Free v1 & v2] Advanced Gang Logs   no probs man nice work oxidati0n :)
  9. Re: Users stats reset to 2,147,483,647 i use decimal(25,4) increases all stats to 10 sextrillion each.
  10. Re: [Free v1 & v2] Advanced Gang Logs Well: if you have converted to v2 you will need to add in the global $db example: global $c,$userid,$h,$db;   so whoever gave me a negative rep point...it was your error not mine! :|
  11. Basic Criminal Record - $10 The basic Criminal Record shows an accurate fail, pass and total crime record for crimes you have done. It only displays the crime type after you have done a crime within that type. This adds to the reality of the mod as Criminal Records are made once you have done a crime irl, the police dont have you marked down for doing 0 GTA! Note: It will only count crimes after you have installed the mod, not crimes completed previously Here are some screenshots: Screenshot 1 Screenshot 2 Screenshot 3 If there are any errors, bugs or if you need assistance contact me on msn: [email protected] If you would like to purchase drop me a PM, email me or contact me on msn Thanks to www.wngame.com for hosting the mod allowing me to take screenshots
  12. Re: v1 cash logs mysql_query("INSERT INTO cashxferlogs VALUES('',$userid,{$_GET['userid']},{$_POST['money']},unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')",$c); add or die(mysql_error()); on the end so it looks like mysql_query("INSERT INTO cashxferlogs VALUES('',$userid,{$_GET['userid']},{$_POST['money']},unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')",$c) or die(mysql_error()); then post back here with the error it says
  13. Re: Level cap... thnx :lol:
  14. Re: [mccode] Mods 4 Sale yea... can u plz get back on topic now? thanks :lol:
  15. Re: Level cap... in global_func.php there is a function called check_level the code for the 1st part shud look like this function check_level() { global $ir,$c,$userid; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); while($ir['exp'] >= $ir['exp_needed'] and $ir['level'] < 950)   except urs is and $ir['level'] < 347 or 346 just change that number to like 10000000000 :P
  16. Re: [mccode] Mods 4 Sale Lol, im not adult either lol, but im honest and responsible, i jus dont like my shit being passed around. :P But if you think they are expensive you dont have to buy...i will be releasing fedreports v2 at a later date, which will look better and have some aditional features 8-)
  17. Re: [mccode] Mods 4 Sale I make them slightly expensive for a reason: 1) So people dont pass around to others 2) So only responsible people can buy them as they are usually adults and can afford that
  18. Re: [mccode] Mods 4 Sale You saying im too pricey? :| Thanks for the compliment tho :P
  19. Re: [mccode] Mods 4 Sale hrmm, perhaps check if u converted it properly. I installed it on another game about an hour ago and works fine
  20. Re: [mccode] Mods 4 Sale   [code]yes, create a new file called fedglobals.php On fedglobals.php replace require "header.php"; with require "fedheader.php"; [/code] on makereport.php replace: require "globals.php"; with require "fedglobals.php";   fed header will basically be a copy of your original header.php, all you have to do is take out the fedjail part. If you use the fedheader.php supplied you will hav a game looking like mine lol hope that helps
  21. Re: [Free v1] Advanced Warning System Add this to index where you want it: $w=mysql_query("SELECT * FROM warnings WHERE user={$ir['userid']}",$c); print " <font color=red>Warnings: ".mysql_num_rows($w)." ";   Make sure before the $w= you have a "; and the part underneath starts with print example: Level: {$ir['level']} "; $w=mysql_query("SELECT * FROM warnings WHERE user={$ir['userid']}",$c); print " <font color=red>Warnings: ".mysql_num_rows($w)." "; print " ";
  22. Re: code help add me to msn: [email protected] ill help ya out :-)
  23. Re: [Free v1] Advanced Warning System what he said :lol:
  24. Re: v1 cash logs I had the same trouble on my game in the earlier days, i forgot what i done to fix it. Just check that the number of things that are being inserted into the log matches the number of fields in the cashxferlog table. Also make sure the right thing is being inserted.
  25. Re: Editing Donations **Looks through his book of tricks** According to "The Book of Tricks"...lol Donator Packs are automatically credited, what you recieve in the pack is defined in ipn_donator.php. Just alter what you get there, you will also have to change it on donator.php (i think)
×
×
  • Create New...