Jump to content
MakeWebGames

jon182

Members
  • Posts

    233
  • Joined

  • Last visited

    Never

Everything posted by jon182

  1. Re: crons not working thanks. i jsut realized my mistake XD
  2. ok.
  3. Re: Attack Script made by us one that works Hopefully. ya. it shows the name of the alt image but they won't load. i think it's my hosting provider
  4. Re: I need help with a Mod i made i might be wrong but i think you must move the second " to after $c and before )
  5. Re: Attack Script made by us one that works Hopefully.   my page won't open the image. anything i can do to help it?
  6. Re: Attack Script made by us one that works Hopefully.   not with that attitude. the point of bumping is so taht people can see this and help. some have already and thats great. and tahnks cyanide tahts awesome!
  7. Re: Attack Script made by us one that works Hopefully.   how does it not make any since?
  8. Re: Attack Script made by us one that works Hopefully. bump
  9. Re: [MCCODES V2] Order an FBI investigation. $10 becuase at google i would NEVER find my exact question. i actually did check google and i got millions of pages that didn't help me. Also i'm not selling a recode of the page. as many many coders do i reused a couple lines so i didin't have to waste time typing identicle thigns but those were lines that go into everypage or almost everypage.
  10. Re: Attack Script made by us one that works Hopefully. ok i would like to say thanks to floydian cause he really helped me here. heres what i have, it makes it so that when you attack a person it randomly chosses one of 6 places, then says where you hit and it damages more or less depending on the spot. Add all of theese to attack.php. $hit = Rand (70,75); switch ($hit) { case 70: $hitspot = 'Legs'; break; case 71: $hitspot = 'Arm'; break; case 72: $hitspot = 'Groin'; break; case 73: $hitspot = 'Torso'; break; case 74: $hitspot = 'Heart'; break; case 75: $hitspot = 'Head'; }   Then in all of your attack messages (like the one below) change Using your {$r1['itmname']} you hit {$odata['username']} doing $mydamage damage ({$odata['hp']})</font> \n"; to Using your {$r1['itmname']} you hit {$odata['username']} in the $hitspot doing $mydamage damage ({$odata['hp']})</font> \n";   thats just an example you must change all of them and just add in the $hitspot after thier username. and before "for whatever damage" then find where it calculates the damage and add at the end of the formula (($hit*.015)*$youdata['will']/$youdata['maxwill']*100/$odata['will']*$odata['maxwill']*100/2.5) that will add the damage of where you've hit AND it will take into account thier will vs thier maxwill.
  11. Re: [MCCODES V2] Order an FBI investigation. $10 i didn't receive any actual code for this. asking how to do one single thing is no different than googling it. are you asying you've never once in your life ask for help then later on use that knowledge to do something profitable? taht little thing i wanted help for isn't like a ton of my script. i probably could of done it without that anyways.
  12. Re: Can you make a variable have a name like "legs"? thanks a million :)
  13. okin the game mods section i'm trying to make an addition to the attack part, however i'm at a roadblock. You know how the $mydamage is like a variable or whatever. Could i have a $attackspot where it chose a random number and then lets say the number is one then it sets $attackspot to "legs" or does it have to be a number? i have the base code down but thats something i've come across. ALSO how can i make it so i include 2 files in the attack file. because it alraedy has the globals file included and i need to include a file i have and if i just copy the way they include globals but change the name it shows an error.
  14. Re: Attack Script made by us one that works Hopefully. i would volunteer for this. i'm still a newbie at coding but i would do what i can. Some ideas ______________________ Randomly select a body part to be attacked. if it's the head it does more damage. or if it's the heart it does a lot, if it's like the toe it only does a little. i'll work on a rough draft but i don't know how it will turn out.
  15. Re: [MCCODES V2] Order an FBI investigation. $10 ok
  16. Re: [MCCODES V2] Order an FBI investigation. $10 it had somethign to do with this.
  17. Re: [MCCODES V2] Order an FBI investigation. $10 how is it strange? i'm not the perfect coder but i'm learning. the way i learn is i ask questions. isn't that how everyone learns? Also the reason i ask questions is that i might be able to figure something out but it would take me a while. for instance this mod took me around 2 days of coding. i bet thiers a lot of people on here that could do it quicker. but if your suggesting that this isn't my work be assured that this is my work 100%
  18. Re: [MCCODES V2] Order an FBI investigation. $10 thanks :)
  19. Re: [MCCODES V2] Order an FBI investigation. $10 well this mod would be most useful in a game with many higher-up gangs.Becuase they wouold use it on each other, becuase if you make it expensive in comparison to what most items cost then then they wouldn't waste it on lower gangs. idk the difficulty level becuase i'm pretty new to coding but it took me a while.
  20. basicly what this does is it makes it so that a gang can purchase one FBI contact for 1,000,000 from the gang vualt. once they purchase this they can use it on a gang of thier choosing to make that gang lose 2,000 respect. All values are easily changable. such as the cost and what respect is lost. they can only use each FBI contact once though. Comes with. 1 PHP file. 1 txt file of instructions. 4 yourgang.php edits and 1 short mysql query. This is a steal. email me at [email protected] OR on CE to buy this mod. feedback and constructive criticism are always nice
  21. Re: this scrpit requires an action thanks alabama i solved it.
  22. Re: this scrpit requires an action i set that but if i don't set that defualt then the page would be blank.
  23. Re: this scrpit requires an action it didn't change anything
  24. Re: this scrpit requires an action thats exactly what i have except for instead of " i use ' and instead of "echo" i use "print" and instead of Action one i use <form action='filename.php?action=one' method='post'> then i use a dropbox (which doesn't show up) then i use <input type='submit' value='button name' /></form>";
  25. ok. i'm scripting a page and have a few problems. 1. It says that the scrpit requires an action when it has the following action. <form action='police_investigation.php?action=policeisub' method='post'> and at the begining of the scrpit i have. case 'policeisub': police_investigation_submit(); break;   2. Even though i have used the print code within a function none of the stuff i'm supposed to print shows up. why is this?
×
×
  • Create New...