Jump to content
MakeWebGames

plintu

Members
  • Posts

    102
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by plintu

  1. Re: [V2]Advanced Whorehouse Actually that is a very good mod, it looks pretty decent good one bro!
  2. Re: need a little code effeciency help?   that is close but it doesn't account for the && $ir['loved']=='3') part. I think I can get it from there, thank you!
  3. what would be a more effecient wat to write this? if($ir['location']=='1'){die("You should not be here, you are under aged!");} if($ir['location']=='2'){die("You should not be here, you are under aged!");} if($ir['location']=='3'){die("You should not be here, you are under aged!");} if($ir['location']=='4'){die("You should not be here, you are under aged!");} if($ir['location']=='5'){die("You should not be here, you are under aged!");} if($ir['location']=='6' && $ir['loved']=='3'){die("You got your lovin for today!");} if($ir['location']=='7' && $ir['loved']=='5'){die("You got your lovin for today!");} if($ir['location']=='8' && $ir['loved']=='7'){die("You got your lovin for today!");} if($ir['location']=='9' && $ir['loved']=='10'){die("You got your lovin for today!");}
  4. Re: Hire a sniper! that is cool I forgot about that part when I make the mod in my game I have to change it up for everyone here and sometimes I forget :D
  5. Re: Hire a sniper! well I am at level 10 in my game and need 2428 Exp to level. but it keeps increasing with each level, so I just added the 2428 exp to go to level 11 and now I need 3801 exp to level! so you might need to judge what amount of exp you want to give the users of your game for doing it! if you want to do a percent then up somewhere under include globals.php add: $need=floor($ir['exp_needed']/10); (this would be for 10 percent) then change: mysql_query("UPDATE `users` SET `money`=money-5000000, exp=exp+500 WHERE userid=$userid"); to: mysql_query("UPDATE `users` SET `money`=money-5000000, exp=exp+$need WHERE userid=$userid");   and change: You also just gained 500 exp for taking... to: You also just gained $need exp for taking...
  6. Re: Hire a sniper! well in my game 500 exp isn't 5 levels so you guys might have to change that to a lower number I forgot about regular mccodes levels so you can lower those numbers :D
  7. Re: Hire a sniper! I forgot one thing! I just updated it! but if you haven't yet just under include globals add this: if($ir['money']<5000000){ die("You do not have enough money to be here. You need at least 5 mill!");}
  8. Re: Hire a sniper! yes, you need to give each different location a new number so on my index page I gave it a number one so in the index page it should say" if($rows['location']=='1'){ " then in my inventory: if($rows['location']=='2'){ then in my garage: if($rows['location']=='3'){ and so on then on hitman.php you give it those same values: <option selected value='1'>Home Page</option> <option value='2'>Inventory</option> <option value='3'>Garage</option> the location number in this mod has nothing to do with the mccodes city location number! also where it says" $result=mysql_query("select * from sniper WHERE userid=$userid && location='1'"); make sure this location number is the same as the other one you put on that page! so if it is index page it would be 1 if it was inventory page it would be 2 etc also I just updated this file so that in the event add it tells the user who put the hit on them!
  9. Re: Hire a sniper! create a file called "redscreen.php": <?php print"<body bgcolor='red'> <center>[img=images/sniped.gif] <font size='6' color='black'>You are being redirected back!</font></center></body> <META http-equiv='refresh' content='3;URL=hospital.php'> "; ?> go to: http://plintu.com/sniped.gif right click and copy the blinking image and put that in your images folder! Well that is it I hope you guys like it! This also allows the users to place multiple hits on people in multiple locations, they can get sniped when they visit the gym then they can get sniped when they visit home page or what ever! the hitman.php page is a little plain you can spice it up by adding an image of a sniper or whatever, all it is, is just the form to hire the sniper!
  10. Re: Hire a sniper! sql's ALTER TABLE `users` ADD `sniped` INT( 6 ) NOT NULL ; then: CREATE TABLE `sniper` ( `userid` int(11) NOT NULL, `location` int(11) NOT NULL DEFAULT '0', `by` varchar(30) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; now create hitman.php: <?php include "globals.php"; if($ir['money']<5000000){ die("You do not have enough money to be here. You need at least 5 mill!");} if($_POST['kill']){ $user=abs($_POST['user']); $where=abs($_POST['where']); $result=mysql_query("select * from users where userid=$user"); $row=mysql_fetch_array($result); $usr=$row['username']; $db->query("INSERT INTO sniper VALUES($user,$where,'{$ir['username']}')"); mysql_query("UPDATE `users` SET `sniped`='1'WHERE userid=$user"); mysql_query("UPDATE `users` SET `money`=money-5000000, exp=exp+500 WHERE userid=$userid"); print" You just placed a hit on $usr, the next time they go there they will be sniped! You also just gained 500 exp for taking them out!";} else{ print"<font size='4' color='red'>It cost 5 million dollars to send a sniper after someone!!!</font> Who do you want killed? <form action='hitman.php' name='who' method='post'> User: ".user_dropdown($c,'user')." Where do you want them killed at? When arrive at this place they will then be Sniped! <select name='where' size='1' id='where'> <option selected value='1'>Home Page</option> <option value='2'>Inventory</option> <option value='3'>Garage</option> <option value='4'>Fight List</option> <option value='5'>Explore</option> <option value='6'>Gym</option> <option value='7'>Crimes</option> <option value='12'>Events page</option> <option value='13'>Mailbox</option> <option value='14'>Back Alley</option> <option value='15'>Search Page</option> <option value='16'>Your Gang</option> <option value='17'>Friendslist</option> <option value='18'>Enemies/blacklist</option> </select> <input type='submit' name='kill' value='KILL!!' /></form>";} ?> notice the option values in my example here that is also the location number that I put on each page! you have to give that location value to those pages!
  11. Hope you guys like this one, it involves a little bit of work but it is a fun little mod and a way for your users to spend their money or you can change it to to crystals if you would like, it might take a couple postings so please don't post until I put it all down. you are going to have to customize the code a little for each page. this mod lets your users hire a sniper they can have someone killed for a price and they can select what page the other user will die on when they visit that page! on top of each page that you want to add to the fun you have to put: if($ir['sniped']>'0'){ $result=mysql_query("select * from sniper WHERE userid=$userid && location='1'"); $rows=mysql_fetch_array($result); if($rows['location']=='1'){ event_add($ir['userid'],"A sniper was hired to take you out, by {$rows['by']}! He got you the second you visited your home page!", $c); $db->query("UPDATE users SET hospital = '10', hp='0', sniped=sniped-1, hospreason='sniped', stamina=stamina/2, energy=energy/2 WHERE userid = $userid"); $db->query("DELETE FROM sniper WHERE userid = $userid && location ='1'"); print"<meta http-equiv='refresh' content='2;url=hospital.php'>";} } for each page you have to change the location number and what it says in the even_add write down the number that you give each location,
  12. Re: felonyheights.com Well fine If you guys won't review my game then I will! Hey that is a pretty nice layout! I like that ....LOL :mrgreen: come on don't be all :mrgreen: on me!!! give me a review! :D tell me it sux or something!
  13. Re: Flash Slot Machine [$50] Designed to fit your game! I will hook all three up for you for $70!!!
  14. Re: [MMCODES V2] HACKING ATTEMPTS LOGGED illusions, this it yet another great mod by you!!!
  15. Re: Advance Race mod (Race run every 10mins) ($10) Well is there any screenshots? did you hook it up with any images like race track images, how does it layout? how many files is there to add? what kind of changes do you have to make to your game to make the mod work? and is it v1 or v2? so people know if they have to convert it themselves or not! A little more info might go a long ways! ;)
  16. Re: Flash Slot Machine [$50] Designed to fit your game! Just to make this more affordable I am dropping the price down to $35.00!!! Again you can see one working live at felonyheights.com->explore->slots machine! It will be made to match your site!!!
  17. Re: [mccode v2] Gang Recruit   Thanks sparks! ;) this is a nice mod, it is totally different than mine, it looks very clean I like it, good job guys!
  18. Re: Flash Slot Machine [$50] Designed to fit your game! I can and I am slowly working on it, I am eventually gonna have at least like 5-10 slots and a flash black jack, and a flash videopoker.
  19. Re: Flash Slot Machine [$50] Designed to fit your game!   Well most people barley know how to program in php little lone being able to write actionscript and php! And what other mod do you know that is gonna exactly taylored to fit each and every game like I am gonna do with the flash? If you can yui animate and you would be willing to do it cheaper then then go ahead! If you know yui animation I think that is great then I guess you don't need this mod! But thank you for the inquiry! not only that the game comes with sounds, it does not take very long at all to load and the game alone is gonna bring money! I can customize it to where if you want the users to be able to buy chips for crystals so they would get like 5 coins to play in the slot per crystal, you are not only buying the game you are buying my time to sit there and custom fit it to your game!
  20. If you would like a test run and to see an example of one in play you can go to felonyheights.com! It is ran with php so the variables can be altered! As I have it set, it costs one point and $1000 to play, If you use crystals in your game then it will minus one crystal. The payouts are a little high to entice the user to spend points to keep playing! There is a progressive jackpot each time the user does not win the jackpot, it goes up by $250, another enticing feature to drive people to want to spend points to play! Especially when the jackpot gets really high up there! This works in mccodes v2 I will edit the flash file and put your site name in there! It includes 3 php files an 2 swf files, to install all you have to do is upload to your server and go to explore and give it a link! and a sql to add to database! Message me at the game and I will respond faster, or you can message me here and I will get it the next time I check in! make sure and have msn messenger so we can talk about the images and wording to put in the slot for you! Send me your msn if you are interested!
  21. Re: flash slot machine & texas hold 'em seats 10 per table limitless tables   well don't trip then I won't post it I will just keep that one for myself!
  22. Re: flash slot machine & texas hold 'em seats 10 per table limitless tables actually it is php poker but it is not! I am using the game engine for dealing and shuffling to multiple players, but that is about it everything else is completely rewritten nowhere near the same as php poker! I am still not done with it I thought I would be by now but it turned into a bigger project than I expected it to :D
  23. Re: flash slot machine & texas hold 'em seats 10 per table limitless tables no I have a flash slot machine that is going to work with mccodes it will include a swf file and a php file! Then seperately I have a php, ajax texas hold 'em where it seats ten people and has a chat module in the poker room, an admin section for creating multiple room with different table limits. you gave me a good Idea though!!! once I finish with these projects I will work on putting together a flash poker room!!! :D
  24. These are not yet completed but I should be done with the flash slot machine by thursday july 16th and I will be done with the Texas hold 'em most likely by monday. I am wondering what you guys think would be a fair price for these seperately?
  25. Re: How do i use images uploaded to my cpanel?
×
×
  • Create New...