Jump to content
MakeWebGames

John99

Members
  • Posts

    491
  • Joined

  • Last visited

    Never

Everything posted by John99

  1. Re: [TGM] Federal Jail Court System [TGM] and point is ? lol:)
  2. Re: [TGM] Federal Jail Court System [TGM] Deathstar if you can do it do it then this is cronus work he done
  3. Re: [TGM] Federal Jail Court System [TGM] Cool im guna try and get a bit more money to buy this mod :)
  4. Re: Login Logs Fully Work [FREE] Up to you YOU sed you was going to then on your post im guna make it when i done it ill post lol:P
  5. Re: [TGM] Ammunition For Weapons [TGM] Ye but 03laceys not as god as this one it has admin functions to :p and its a nice mod :) also cronus you would make a market so people can sell diffrent kinda ammunition on the market :)
  6. Re: [TGM] Ammunition For Weapons [TGM] Hey nice mod Cronus
  7. Re: Giving Item To All Users [FREE] Lol soz:P
  8. Re: Login Logs Fully Work [FREE] I sed that lol
  9. Re: Login Logs Fully Work [FREE] The Ip thing dont work cant get it to work :(
  10. Re: Login Logs Fully Work [FREE] thanks:)
  11. Re: Login Logs Fully Work [FREE] You may need to create the table and them add them in just just done this table how it was in phpmyadmin thanks alan feel free to give me +1 :)
  12. Login Logs I made my self :D Open: authenticate.php Find:   header("Location: loggedin.php");   After Add:   mysql_query("INSERT into loginlogs VALUES('{$_POST['username']}','unix_timestamp()','{$_POST['ip']}','{$_POST['userid']}')",$c);   Now Open Admin.php Add Case:   case 'loginlogs': view_login_logs(); break;   Find:   [[url='admin.php?action=maillogs']Mail Logs[/url]]   After Add:   [[url='admin.php?action=loginlogs']Login Logs[/url]] ";   Find:   $h->endpage(); ?>   Before Add:   function view_login_logs() { global $ir,$c,$h,$userid; print "Login Logs </pre> <table width="75%">UsernameTimeIP</table>";<br   Now Save The File The Add SQL Files:   CREATE TABLE `loginlogs` ( `username` varchar(255) latin1_swedish_ci NOT NULL, `time` int(20) NOT NULL default '0', `ip` varchar(255) NOT NULL default '0', `userid` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;   fully works thanks alan
  13. Re: Giving Item To All Users [FREE] lol:P
  14. Re: Giving Item To All Users [FREE] :'( Im crying lmfao :p
  15. Re: Giving Item To All Users [FREE] Weres My +1 cuz i posted lol
  16. Re: Giving Item To All Users [FREE] Yup its for v1.1 itseasy to do with v2 still lol
  17. Give Item To All Users Cronus was sellin it for $5 so i made one quiclky So Now Open Admin.php Find:   case 'massmailer': massmailer(); break;   After Add: case 'massitemgive': mass_give_item(); break; case 'massitemgivesub': mass_give_item_sub(); break;   Find: [[url='admin.php?action=giveitem']Give Item To User[/url]]   After That add: [[url='admin.php?action=massitemgive']Mass Give Items[/url]]   Now add the functions: Find : $h->endpage(); ?> Before that add: function mass_give_item() { global $ir,$c; print "Giving Item To All Users Item: ".item_dropdown($c,'item')." Quantity: "; } function mass_give_item_sub() { global $ir,$c; $q=mysql_query("SELECT * FROM users WHERE fedjail=0",$c); while($r=mysql_fetch_array($q)) { mysql_query("INSERT INTO inventory VALUES('',{$_POST['item']},{$r['userid']},{$_POST['qty']})",$c) or die(mysql_error()); event_add($r['userid'],"The popliation has just bin given an item {$_POST['item']}, Click [url='inventory.php']Here[/url] to check.",$c); print "Item Sent To {$r['username']}"; } print " Mass item sending complete! Theres no need to send a mass mail because they just got an event."; }   saves you $5 ;) gif you want give me +1 :) thanks alan
  18. Re: [v1]Refill Users i done that before you :P SoulOfDeath haha
  19. Re: CrystalShop Mod!! Free!! Thanks Hunter
  20. Re: CrystalShop Mod!! Free!! I havent saw this on ce before i know some games have it but some people dont and people dont no how to make it so i just made one then posted it on ce for some people to use for free :)
  21. NOTE: This is for v1 only. This is fully 100% made by me only dbs headers aint mine. lol:p Make a file called crystalshop.php Add   <?php //Coded By Alan //Free Mod/Code session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print "Welcome to the crystal shop this is were you can spend all you crystals on."; print "You currently have {$ir['crystals']} crystals "; if($_GET['type'] == "") { Print "Armor [url='crystalshop.php?type=plashield']Plasma Shield - 25 Crystals[/url] [url='crystalshop.php?type=rynaxplasheild']Rynax Plasma Shield - 45 Crystals[/url] "; Print "Guns [url='crystalshop.php?type=plasmgun']Plasma Gun - 65 Crystals[/url] [url='crystalshop.php?type=plasmarifle']Plasma Rifle - 85 Crystals[/url] "; Print "Medical [url='crystalshop.php?type=willpot']Will Potion - 30 Crystals[/url] [url='crystalshop.php?type=smallhealth']Small Potion - 10 Crystals[/url] "; Print "Food [url='crystalshop.php?type=sacklunch']Sack Lunch - 3 Crystals[/url] [url='crystalshop.php?type=hamburger']Hamburger - 5 Crystals[/url] "; } else if($_GET['type'] == "plashield") { if($ir['crystals'] <25) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-25 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',97,$userid,1)",$c); print "You successfully traded 25 crystals for a Plasma Shield and gone in to your items."; } } else if($_GET['type'] == "rynaxplasheild") { if($ir['crystals'] <45) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-45 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',98,$userid,1)",$c); print "You successfully traded 45 crystals for a Rynax Plasma Shield and gone in to your items."; } } else if($_GET['type'] == "plasmgun") { if($ir['crystals'] <65) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-65 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',99,$userid,1)",$c); print "You successfully traded 65 crystals for a Plasma Gun and gone in to your items."; } } else if($_GET['type'] == "plasmarifle") { if($ir['crystals'] <85) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-85 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',100,$userid,1)",$c); print "You successfully traded 65 crystals for a Plasma Rifle and gone in to your items."; } } else if($_GET['type'] == "willpot") { if($ir['crystals'] <30) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-30 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',34,$userid,1)",$c); print "You successfully traded 30 crystals for a Will Potion and gone in to your items."; } } else if($_GET['type'] == "smallhealth") { if($ir['crystals'] <10) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-10 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',3,$userid,1)",$c); print "You successfully traded 10 crystals for a Small Potion and gone in to your items."; } } else if($_GET['type'] == "sacklunch") { if($ir['crystals'] <3) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-3 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',1,$userid,1)",$c); print "You successfully traded 3 crystals for a Sack Lunch and gone in to your items."; } } //This is type like a function else if($_GET['type'] == "hamburger") { if($ir['crystals'] <5) { die("You don't have enough crystals!"); } else { mysql_query("UPDATE users SET crystals=crystals-5 WHERE userid=$userid",$c); mysql_query("INSERT INTO inventory VALUES('',5,$userid,1)",$c); print "You successfully traded 5 crystals for a Hamburger and gone in to your items."; } } $h->endpage(); ?>   Then Save and your done A little mod created by me thanks alan
  22. Re: [LITE][FREE] Bank ye but whats diffrent between the both what do you have to change so it works with [LITE]
  23. Re: [LITE][FREE] Bank What the diffrence betwen v.1.1 and LITE? They look the same:s ?
  24. Re: [TGM] User Comments [TGM] i might make this mod later on cuz its not that hard sql 1 sql file not hard
  25. Re: [LITE][FREE] Job Lol i just got to getting ready to go school then when i come home think of what to make make it then post it on ce woop
×
×
  • Create New...